Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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-GCS] Overwrite does not work properly using variables in GCS Bucket Path #28528

Open
1 task
kev-datams opened this issue Jul 20, 2023 · 2 comments
Open
1 task

Comments

@kev-datams
Copy link

kev-datams commented Jul 20, 2023

Connector Name

destination-google-cloud-storage

Connector Version

0.4.4

What step the error happened?

During the sync

Revelant information

Hello,

The GCS destination does not properly apply the Overwrite strategy in certain circumstances.
I mean the existing files are not removed from GCS path before the sync, leading to duplicates files after the sync.

In GCS destination configuration settings, while filling GCS Bucket Path value:

  • with a simple path like my_folder/my_subfolder : Overwrite strategy works as expected
  • with a dynamic path like my_folder/${STREAM_NAME}: Overwrite strategy does not work as expected as explained above.

Reproducibility is really simple:

  1. set up a GCS destination with simple path in GCS Bucket Path value
  2. create a connection using this GCS destination (source does not matter) using Overwrite strategy
  3. sync the connection => a file will be generated as expected
  4. re-sync the connection => the file will be dropped first, then re-generated as expected
  5. update the GCS destination GCS Bucket Path value with a dynamic path
  6. re-sync the connection => the file will NOT be dropped first, then re-generated, leading to duplicates

Thank you for your help 👍

Relevant log output

No response

Contribute

  • Yes, I want to contribute
@kev-datams
Copy link
Author

kev-datams commented Jul 21, 2023

Can someone add the label connectors/destination/gcs to this issue please ?

@kev-datams
Copy link
Author

Hi, looks like this issue is still open

@marcosmarxm marcosmarxm changed the title GCS Destination : Overwrite does not work properly using variables in GCS Bucket Path [destination-GCS] Overwrite does not work properly using variables in GCS Bucket Path May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants