-
Notifications
You must be signed in to change notification settings - Fork 283
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
Initial Snowflake migration docs #1538
Conversation
This is an automated comment for commit f659664 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page Successful checks
|
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.
This looks great! Thank you so much again
@gingerwizard any reviews? what are the next steps here? cc @Ryado |
SELECT | ||
timestamp, | ||
some_text, | ||
JSONExtract( |
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.
last time i checked they do export OBJECT as JSON string..this is subject to change. i raised a question and they planned to possibly change. Maybe add note?
``` | ||
|
||
:::note Note on nested column structures | ||
The `VARIANT` and `OBJECT` columns in the original Snowflake table schema will be output as JSON strings by default, forcing us to cast these when inserting them into ClickHouse. |
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.
note subject to change
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.
LGTM. Maybe note the string export of JSON is subject to change and users should do a DESCRIBE s3() toi check the schema
3912073
to
f659664
Compare
Just to keep it simple, I don't think we should add this info unless Snowflake's behavior actually changes. Thanks for reviewing @gingerwizard! |
This is a simplified doc of the migration section from this blog post:
https://clickhouse.com/blog/clickhouse-vs-snowflake-for-real-time-analytics-comparison-migration-guide#migrating-data