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

fix: add primary keys when upserting in Postgres #2819

Merged

Conversation

AntonMantulo
Copy link
Contributor

Feature or Bugfix

  • Bugfix

Detail

  • Fixes issue with table creation when using upsert mode in Postgres.

@malachi-constant

This comment was marked as outdated.

@malachi-constant

This comment was marked as outdated.

Copy link
Contributor

@kukushking kukushking left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution! Do you mind adding a test case as well, please?

@kukushking kukushking linked an issue May 14, 2024 that may be closed by this pull request
@AntonMantulo
Copy link
Contributor Author

Sure, no problem.

Anton Mantulo added 2 commits May 15, 2024 13:56
@AntonMantulo
Copy link
Contributor Author

There was the same problem when using append mode alongside insert_conflict_columns, added a fix for that. Additionally, removed some statements in tests that led to false positives.

@malachi-constant

This comment was marked as outdated.

@malachi-constant

This comment was marked as outdated.

@malachi-constant

This comment was marked as outdated.

@malachi-constant

This comment was marked as outdated.

@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
  • Commit ID: 9a4cace
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
  • Commit ID: 9a4cace
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@LeonLuttenberger LeonLuttenberger merged commit b3f215e into aws:main May 15, 2024
17 checks passed
@AntonMantulo AntonMantulo deleted the fix/upsert-postgres-table-creation branch May 16, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Postgres upsert table creation
4 participants