Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: matching compressions should be checked when appending rasters #165

Merged

Conversation

vdelacruzb
Copy link
Contributor

@vdelacruzb vdelacruzb commented Feb 20, 2025

Issue

Fixes #

  • raster loader must consider compression when [sc-470644]

Proposed Changes

We were not checking the compression when appending rasters and could end up on situations with part of the raster compressed and part not. I didn't add anything into update_metadata as we can keep the original compression value. This PR also fixes a little error in Snowflake where we were not passing the compress to the metadata.

Pull Request Checklist

  • I have tested the changes locally
  • I have added tests to cover my changes (if applicable)
  • I have updated the documentation (if applicable)

Additional Information

[Anything else you'd like to include.]

@vdelacruzb vdelacruzb requested a review from cayetanobv March 10, 2025 15:12
@vdelacruzb vdelacruzb marked this pull request as ready for review March 10, 2025 15:15
Copy link
Member

@cayetanobv cayetanobv left a comment

Choose a reason for hiding this comment

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

Minor comment added

@vdelacruzb vdelacruzb requested a review from cayetanobv March 10, 2025 16:41
@vdelacruzb vdelacruzb merged commit 0e30d11 into main Mar 10, 2025
4 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants