HansiChan opened a new pull request, #7720: URL: https://github.com/apache/paimon/pull/7720
## Purpose Support JDBC catalog in PyPaimon. This adds a Python JDBC catalog implementation that uses the same catalog metadata tables as Java Paimon JDBC catalog: `paimon_tables`, `paimon_database_properties`, and `paimon_table_properties`. The implementation supports SQLite with the Python standard library and dynamically supports MySQL/PostgreSQL when a corresponding Python DB-API driver is installed. Table data and schema files continue to use existing PyPaimon `FileIO` and `SchemaManager` behavior. ## What changed - Register `metastore=jdbc` in `CatalogFactory` - Add `JdbcCatalog` and `JdbcCatalogLoader` - Add `catalog-key` and `sync-all-properties` catalog options - Cover database and table create/list/get/alter/rename/drop behavior with SQLite-backed tests - Document JDBC catalog creation in PyPaimon Python API docs ## Tests - `python3 -m py_compile pypaimon/catalog/jdbc_catalog.py pypaimon/catalog/jdbc_catalog_loader.py pypaimon/catalog/catalog_factory.py pypaimon/common/options/config.py pypaimon/tests/jdbc_catalog_test.py` - `PYTHONPATH=/tmp/paimon-python-test-deps POLARS_SKIP_CPU_CHECK=1 python3 -m unittest pypaimon.tests.jdbc_catalog_test pypaimon.tests.filesystem_catalog_test` -- 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]
