-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Destination postgres (dv2): add indexes to raw table #34236
Merged
Merged
Changes from all commits
Commits
Show all changes
121 commits
Select commit
Hold shift + click to select a range
7ec0e4a
make methods public
edgao b0f6035
allow overriding timestamptz type
edgao e65e315
better?
edgao e9c6e34
move jdbc base test into db-destinations testFixtures
edgao 6ee0add
override annotation
edgao aade64a
fixes
edgao d8fde89
typing_deduping core code uses Sql struct
edgao d7949a0
update bigquery
edgao 30f8a4d
update snowflake
edgao cd6b03b
update redshift
edgao 803c758
autoappend semicolon
edgao af0d77a
move insert statement to base class
edgao f9a4193
Merge branch 'dv2_cdk_changes' into edgao/dv2_sql_refactor
edgao 3f31078
propagate safe_cast option to subclass
edgao d952aab
Merge branch 'dv2_cdk_changes' into edgao/dv2_sql_refactor
edgao d25cb85
fix redshift sqlgenerator
edgao ef2ddd4
Merge branch 'dv2_cdk_changes' into edgao/dv2_sql_refactor
edgao b21a539
make methods public
edgao 8d55bac
allow overriding timestamptz type
edgao a37d096
better?
edgao 0f7cf74
move jdbc base test into db-destinations testFixtures
edgao 2583a70
override annotation
edgao 2e6e931
fixes
edgao b4ffdba
move insert statement to base class
edgao 4d045ca
propagate safe_cast option to subclass
edgao 3c53c37
fix redshift sqlgenerator
edgao 54350e9
Merge branch 'dv2_cdk_changes' into edgao/dv2_sql_refactor
edgao b0a667d
fix redshift test
edgao df833f9
Merge branch 'dv2_cdk_changes' into edgao/dv2_sql_refactor
edgao 9463896
use local cdk
edgao 92e9cf3
skeletons
edgao 78c09c8
rough test impl
edgao 3b7e6e6
stuff
edgao 22d952f
better base implementation
edgao d07724c
implement extract+cast?
edgao 5858164
I am the dumb
edgao 116618b
I am still the dumb
edgao a32c67b
placeholder airbyte_meta impl to make tests run
edgao a5f1d2f
placeholder row_number impl to make tests run
edgao e8daf9c
copy expectedrecords files from redshift
edgao e0a3928
fix raw table fetch
edgao a2c45a4
fetch all rows for now
edgao b2b70f9
copy over rowNumber impl
edgao 009d5f6
unused imports
edgao ad81d3f
cdc deletion condition
edgao 63d2fa0
implement test
edgao 00ce755
stuff
edgao 03622d6
fix test insert statement
edgao fe6499b
fix json typeof check
edgao 7bf1633
extract to method
edgao b5ee826
fix test fixtures
edgao e408c33
extract JdbcTypingDedupingTest
edgao 98d38b4
add containerized tests
edgao 2c2debb
plug in raw table stuff
edgao fd147ad
schema change detection
edgao 2a05c63
build airbyte_meta.errors?
edgao c0c7568
implement safe_cast
edgao 65f8490
better cast implementation
edgao 127017b
fix error detection
edgao fbe8267
minor refactor in jsonTypeof
edgao fa01aeb
threadsafe
edgao dcf1c8c
format
edgao e93a566
Merge branch 'master' into dv2/postgres
edgao 7987413
test raw dataset override
edgao c541d4c
spec
edgao 7bafc06
derp
edgao aa5cbdc
allow multiple setup
edgao bcb150f
derpderp
edgao 5b10081
use sql.of for single statement
edgao fa6cf78
add test for unsafe casting
edgao 8ae16fa
explicit limit 1; static imports
edgao 2bcac6e
fix params
edgao 8969cf9
create safe_cast in airbyte_internal schema
edgao 97617fc
fix test
edgao c3703fd
fix build
edgao bb43a17
fix build+format
edgao 27f8bdb
dumb but it works
edgao 5e2c6b1
cleanup
edgao bf29a0b
create index on pk
edgao c63c922
format
edgao 4eac520
create index on correct table
edgao 5351a85
Merge branch 'master' into dv2/postgres
edgao 1a203c3
fix tests
edgao 21a0a86
use pg_temp schema for udf
edgao a5406a1
try this???
edgao 0974b04
Merge branch 'master' into dv2/postgres
edgao 961c8f8
format
edgao d10a1e7
remove config param from sqlgenerator
edgao c7ca903
fix snowflake build
edgao b763a75
fix test class
edgao 241a9f8
testing
edgao c4b03ae
format
edgao 2dd5357
testing 2
edgao 4084e63
Merge branch 'master' into dv2/postgres_take2
edgao 6cb5d49
revert spec changes
edgao eca204b
big pile of logistics
edgao 86626a8
Merge branch 'master' into dv2/postgres_take2
edgao 8e8c461
revert postgres to local cdk for prerelease publish
edgao b6ed088
Revert "revert postgres to local cdk for prerelease publish"
edgao a859acc
Merge branch 'master' into dv2/postgres_take2
edgao 1b759d4
Merge branch 'master' into dv2/postgres_take2
edgao 125a9da
once more into the breach
edgao 85b8355
just override the method
edgao 4298916
add more indexes
edgao cb17380
create raw table indexes
edgao f011896
derp
edgao 17d2b5b
format
edgao bcecacc
fix create index call
edgao 19add4e
limit test concurrency
edgao 4e9caff
comments
edgao 80713a7
more comment
edgao b5bbd9d
Merge branch 'master' into edgao/dv2/postgres/indexes_take2
gisripa 4be9a32
redshift cdk update
gisripa ddd719e
revert bigquery and snowflake cdk breaking changes
gisripa 8f32e8b
Merge branch 'master' into edgao/dv2/postgres/indexes_take2
gisripa 1daf383
format
gisripa ac45f4f
bump connector versions and cdk version
gisripa ae1ec15
bump redshift connector
gisripa 2a11dcc
fix readme for cdk
gisripa 9797031
turnoff local cdk for postgres
gisripa 5ae13c0
Merge branch 'master' into edgao/dv2/postgres/indexes_take2
gisripa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
2 changes: 1 addition & 1 deletion
2
airbyte-cdk/java/airbyte-cdk/core/src/main/resources/version.properties
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
version=0.13.0 | ||
version=0.13.1 |
This file contains 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
This file contains 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
4 changes: 3 additions & 1 deletion
4
airbyte-integrations/connectors/destination-postgres-strict-encrypt/gradle.properties
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
testExecutionConcurrency=-1 | ||
# our testcontainer has issues with too much concurrency. | ||
# 4 threads seems to be the sweet spot. | ||
testExecutionConcurrency=4 |
This file contains 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
This file contains 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
4 changes: 3 additions & 1 deletion
4
airbyte-integrations/connectors/destination-postgres/gradle.properties
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
testExecutionConcurrency=-1 | ||
# our testcontainer has issues with too much concurrency. | ||
# 4 threads seems to be the sweet spot. | ||
testExecutionConcurrency=4 |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ plugins { | |
} | ||
|
||
airbyteJavaConnector { | ||
cdkVersionRequired = '0.12.1' | ||
cdkVersionRequired = '0.13.0' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. might as well bump to 0.13.1? |
||
features = ['db-destinations', 's3-destinations', 'typing-deduping'] | ||
useLocalCdk = false | ||
} | ||
|
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
I think we should remove this, even if it's ignored