Repository navigation
fix(tables): refuse deprecated data-path table properties - #2044
Conversation
`write.object-storage.path` and `write.folder-storage.path` are refused alongside `write.data.path`: engines still honor these deprecated spellings and would write data files outside the table location, possibly into another tabular's location. Removing any of the three is allowed, so a table that carries one can always shed it. Adds integration tests pinning that generic tables share the location space with Iceberg tables and views: a second tabular at the same location, its parent directory, or inside it is refused with `LocationAlreadyTaken` for every pairing that involves a generic table, while a sibling sharing only a string prefix is not. Documents that the advisory locks in `ensure_location_available` rely on READ COMMITTED.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review. WalkthroughThe pull request adds integration tests for generic-table location collisions, updates table-property validation for data-path properties, and revises a comment about PostgreSQL location checks. ChangesTabular location collision coverage
Table property validation
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to No actionable merge-blocking issue is established; the PR is mergeable after normal checks. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The changed validation restricts properties that could direct data writes outside a table’s location while allowing existing tables to remove them. The location tests add no public endpoint. Coverage of every table-creation path and concurrent behavior remains incomplete, so the risk assessment is low rather than minimal. Retained concerns Security review detailsSecurity Blast Radius
Security Findings and Attack Paths
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit checks each path with care, Comment |
✅ PR Title Formatted CorrectlyThe title of this PR match the correct format. Thank you! |
(cherry picked from commit b771dbf)
write.object-storage.pathandwrite.folder-storage.pathare refused alongsidewrite.data.path: engines still honor these deprecated spellings and would write data files outside the table location, possibly into another tabular's location. Removing any of the three is allowed, so a table that carries one can always shed it.Adds integration tests pinning that generic tables share the location space with Iceberg tables and views: a second tabular at the same location, its parent directory, or inside it is refused with
LocationAlreadyTakenfor every pairing that involves a generic table, while a sibling sharing only a string prefix is not.Documents that the advisory locks in
ensure_location_availablerely on READ COMMITTED.Summary by CodeRabbit