Skip to content
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: Upgrade to latest CDK #37660

Merged
merged 2 commits into from
May 7, 2024
Merged

Conversation

edgao
Copy link
Contributor

@edgao edgao commented Apr 29, 2024

Copy link

vercel bot commented Apr 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 7, 2024 8:56pm

Copy link
Contributor Author

edgao commented Apr 29, 2024

protected List<String> createIndexSql(final StreamConfig stream, final String suffix) {
if (stream.getDestinationSyncMode() == DestinationSyncMode.APPEND_DEDUP && !stream.getPrimaryKey().isEmpty()) {
return List.of(
getDslContext().createIndex().on(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in createTable, we're already creating an index on pk, cursor, extracted_at. Creating an index on just pk is redundant.

@edgao edgao force-pushed the edgao/postgres_cdk_bumps branch from c735463 to 6914e51 Compare April 29, 2024 22:12
@edgao edgao marked this pull request as ready for review April 29, 2024 22:13
@edgao edgao requested a review from a team as a code owner April 29, 2024 22:13
@octavia-squidington-iv octavia-squidington-iv requested review from a team April 29, 2024 22:14
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from be524ad to be73530 Compare April 30, 2024 00:06
@edgao edgao requested a review from a team as a April 30, 2024 00:06
@edgao edgao force-pushed the edgao/postgres_cdk_bumps branch from 6914e51 to 6fea617 Compare April 30, 2024 00:06
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from be73530 to 55e7bf2 Compare April 30, 2024 15:14
@edgao edgao force-pushed the edgao/postgres_cdk_bumps branch from 6fea617 to 08fe9f0 Compare April 30, 2024 15:15
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from 55e7bf2 to bdf95d2 Compare May 3, 2024 18:35
@edgao edgao force-pushed the edgao/postgres_cdk_bumps branch from 08fe9f0 to 73480ab Compare May 3, 2024 18:35
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch from bdf95d2 to 1dfc87d Compare May 3, 2024 19:38
@edgao edgao force-pushed the edgao/postgres_cdk_bumps branch from 73480ab to b82b75d Compare May 3, 2024 19:38
@edgao edgao force-pushed the dv2/td_tests_allow_unsafe_cast_2 branch 2 times, most recently from be36130 to 9bb61fe Compare May 3, 2024 20:07
@edgao edgao force-pushed the edgao/postgres_cdk_bumps branch from b82b75d to ecd02ed Compare May 3, 2024 20:08
Base automatically changed from dv2/td_tests_allow_unsafe_cast_2 to master May 3, 2024 20:29
@edgao edgao force-pushed the edgao/postgres_cdk_bumps branch from ecd02ed to a3324c7 Compare May 3, 2024 22:20
@edgao edgao force-pushed the edgao/postgres_cdk_bumps branch from a3324c7 to 9a64f6d Compare May 7, 2024 20:52
@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label May 7, 2024
@edgao edgao enabled auto-merge (squash) May 7, 2024 20:55
@edgao edgao merged commit b8838a4 into master May 7, 2024
38 checks passed
@edgao edgao deleted the edgao/postgres_cdk_bumps branch May 7, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants