Repository navigation
destination-snowflake: speed up metadata queries - #45422
Merged
Stephane Geneix (stephane-airbyte) merged 1 commit intoSep 18, 2024
Merged
Stephane Geneix (stephane-airbyte) merged 1 commit into
Stephane Geneix (stephane-airbyte) merged 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. Join Stephane Geneix (@stephane-airbyte) and the rest of your teammates on |
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
from
September 12, 2024 16:44
115827f to
aed93b6
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
from
September 12, 2024 16:51
aed93b6 to
c972312
Compare
Stephane Geneix (stephane-airbyte)
changed the base branch from
stephane/09-10-destination-snowflake_bump_cdk
to
stephane/05-22-fix_destination_state_table_collation_for_snowflake
September 12, 2024 16:51
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/05-22-fix_destination_state_table_collation_for_snowflake
branch
from
September 12, 2024 17:28
98467d3 to
dbe2fb1
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
2 times, most recently
from
September 12, 2024 19:37
765a6cc to
ea13c79
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/05-22-fix_destination_state_table_collation_for_snowflake
branch
from
September 12, 2024 21:38
dbe2fb1 to
108ff38
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
from
September 12, 2024 21:39
ea13c79 to
eb88eff
Compare
This was referenced Sep 12, 2024
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
from
September 12, 2024 22:48
eb88eff to
36f59f1
Compare
This was referenced Sep 12, 2024
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
from
September 16, 2024 16:40
a67d546 to
b907fb8
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/05-22-fix_destination_state_table_collation_for_snowflake
branch
from
September 16, 2024 17:19
5460c88 to
2a1bff1
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
from
September 16, 2024 17:20
b907fb8 to
1c577b3
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/05-22-fix_destination_state_table_collation_for_snowflake
branch
from
September 16, 2024 19:54
2a1bff1 to
c6ac0d4
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
from
September 16, 2024 19:54
1c577b3 to
32ed78a
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/05-22-fix_destination_state_table_collation_for_snowflake
branch
from
September 16, 2024 20:03
c6ac0d4 to
b57ff6a
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
from
September 16, 2024 20:03
32ed78a to
4238cd3
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/05-22-fix_destination_state_table_collation_for_snowflake
branch
from
September 16, 2024 20:19
b57ff6a to
080431e
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
from
September 16, 2024 20:19
4238cd3 to
ab4981b
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/05-22-fix_destination_state_table_collation_for_snowflake
branch
from
September 16, 2024 20:52
080431e to
005d6ab
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
from
September 16, 2024 20:52
ab4981b to
36ff551
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/05-22-fix_destination_state_table_collation_for_snowflake
branch
from
September 16, 2024 21:00
005d6ab to
1cc7fa1
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
3 times, most recently
from
September 17, 2024 01:12
8ceef31 to
d9e641e
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/05-22-fix_destination_state_table_collation_for_snowflake
branch
from
September 17, 2024 01:23
1cc7fa1 to
34edece
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
from
September 17, 2024 01:23
d9e641e to
c7beaee
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/05-22-fix_destination_state_table_collation_for_snowflake
branch
from
September 17, 2024 18:18
34edece to
f6f5877
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
from
September 17, 2024 18:18
c7beaee to
b07ca08
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/05-22-fix_destination_state_table_collation_for_snowflake
branch
from
September 17, 2024 18:25
f6f5877 to
e656840
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
from
September 17, 2024 18:25
b07ca08 to
e65acb4
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/05-22-fix_destination_state_table_collation_for_snowflake
branch
from
September 17, 2024 21:17
e656840 to
1a5341c
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
from
September 17, 2024 21:17
e65acb4 to
afe55f2
Compare
Stephane Geneix (stephane-airbyte)
force-pushed
the
stephane/09-11-destination-snowflake_speed_up_metadata_queries
branch
from
September 17, 2024 21:42
afe55f2 to
5e9b9c1
Compare
Edward Gao (edgao)
approved these changes
Sep 18, 2024
Edward Gao (edgao)
left a comment
Contributor
There was a problem hiding this comment.
seems convincing, feels a bit risky? (lmk if you disagree, I'm not familiar with how these queries behave)
maybe worth running a prerelease image just as a failsafe? (i.e. check that the sync succeeds + doesn't trigger a soft reset)
Contributor
Author
Merge activity
|
1 task done
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What
This change improves the performance of metadata queries in the Snowflake destination connector by optimizing how table information is retrieved and processed.
How
information_schemawithSHOW TABLESandDESCRIBE TABLEcommands for faster metadata retrieval. This should also reduce the cost for customers by reduce the use of warehousesgetFinalTableRowCount,findExistingTables, andgetTableto use the new querying approachReview guide
SnowflakeDestinationHandler.ktSnowflakeV1V2Migrator.ktSnowflakeInternalStagingLowercaseDatabaseTypingDedupingTest.ktUser Impact
Users should experience faster sync operations, especially for connections with a large number of tables or columns. This optimization reduces the time spent on metadata queries, leading to improved overall performance.