tub opened a new pull request, #7475:
URL: https://github.com/apache/paimon/pull/7475

   ## Summary
   - Enable users to specify custom storage locations for individual tables in 
JdbcCatalog via `CoreOptions.PATH`, replicating the pattern already used by 
HiveCatalog
   - The catalog-level `warehouse` becomes a default, but individual tables can 
live at arbitrary paths persisted in `paimon_table_properties`
   - Custom-path tables behave as external tables: drop skips filesystem 
deletion, rename skips filesystem move
   
   ## Test plan
   - [x] `testCreateTableWithCustomPath` — schema at custom location, 
`getTableLocation()` returns it, `path` stored in JDBC
   - [x] `testCreateTableWithCustomPathSyncDisabled` — `path` stored even when 
`syncTableProperties=false`
   - [x] `testDropTableWithCustomPath` — JDBC cleaned up, data NOT deleted
   - [x] `testDropTableWithDefaultPath` — data IS deleted (existing behavior 
preserved)
   - [x] `testRenameTableWithCustomPath` — metadata updated, path preserved, no 
filesystem rename
   - [x] `testAlterTableWithCustomPath` — path preserved after alter
   - [x] `testLoadTableSchemaWithCustomPath` — schema loads from custom location
   - [x] `testGetTableLocationFallback` — `getTableLocation()` returns default 
when no stored path
   - [x] All 59 JdbcCatalogTest tests pass (including inherited CatalogTestBase 
tests)
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to