-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ingest/cockroachdb): add cockroachdb ingestion #10226
feat(ingest/cockroachdb): add cockroachdb ingestion #10226
Conversation
add support for cockroachdb ingestion based on postgres ingestion as it postgres compatible
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good, just a few minor things
metadata-ingestion/setup.py
Outdated
@@ -311,6 +311,7 @@ | |||
| classification_lib, | |||
"clickhouse": sql_common | clickhouse_common, | |||
"clickhouse-usage": sql_common | usage_common | clickhouse_common, | |||
"cockroachdb": sql_common | {"psycopg2-binary", "GeoAlchemy2", "sqlalchemy-cockroachdb<2.0.0"}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's extract out a postgres_common
and use that here and for postgres - that way it's a bit more clear that this is built on top of postgres
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hsheth2 done
config = CockroachDBConfig.parse_obj(config_dict) | ||
return cls(config, ctx) | ||
|
||
pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hsheth2 done
…kroachdb remove unneeded pass
add support for cockroachdb ingestion based on postgres ingestion as it postgres compatible
cockroachdb is compatible with postgres, most postgres drivers are working with it seamlessly
however sqlalchemy library is not compatible with cockroachdb so there is a need to use the dedicated library sqlalchemy-cockroachdb
Checklist