Skip to content

feat: implement schema comparison logic - #50400

Merged
Francis Genet (frifriSF59) merged 6 commits into
masterfrom
iceberg-schema-comparator
Jan 9, 2025
Merged

Francis Genet (frifriSF59) merged 6 commits into
masterfrom
iceberg-schema-comparator

Conversation

@subodh1810

@subodh1810 Subodh Chaturvedi (subodh1810) commented Dec 23, 2024 •

Copy link
Copy Markdown
Contributor

@vercel

vercel Bot commented Dec 23, 2024 •

Copy link
Copy Markdown

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 Jan 9, 2025 10:34pm

@subodh1810

Subodh Chaturvedi (subodh1810) commented Dec 23, 2024 •

Copy link
Copy Markdown
Contributor Author

/format-fix

Format-fix job started... Check job output.

✅ Changes applied successfully. (fe20d62)

* required -> optional.
*/
data class ColumnDiff(
val newColumns: MutableList<String> = mutableListOf(),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

how hard would it be to track List<List<String>> instead of encoding the path into a string? then we don't need to do the substring stuff in splitIntoParentAndLeaf. Which also makes us more resilient to people putting literal ~ into their field names

# Conflicts:
#	airbyte-integrations/connectors/destination-s3-data-lake/src/main/kotlin/io/airbyte/integrations/destination/iceberg/v2/IcebergTypesComparator.kt
#	airbyte-integrations/connectors/destination-s3-data-lake/src/test/kotlin/io/airbyte/integrations/destination/iceberg/v2/IcebergTypesComparatorTest.kt

# Conflicts:
#	airbyte-integrations/connectors/destination-s3-data-lake/src/main/kotlin/io/airbyte/integrations/destination/s3_data_lake/IcebergTypesComparator.kt
#	airbyte-integrations/connectors/destination-s3-data-lake/src/test/kotlin/io/airbyte/integrations/destination/s3_data_lake/IcebergTypesComparatorTest.kt
@octavia-squidington-iii Octavia Squidington III (octavia-squidington-iii) added the area/documentation Improvements or additions to documentation label Jan 9, 2025

This branch was successfully deployed

1 active deployment
Preview — 39f6f91a Deployed Jan 9, 2025 by vercel[bot]
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.

4 participants