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

   ## Summary
   
   Adds native PyPaimon access to the eight core system tables, matching the 
Java implementation column for column.
   
   - New \`pypaimon.table.system\` package: \`SystemTable\` base + 
\`SystemTableLoader\` registry + in-memory read pipeline (\`SystemReadBuilder\` 
/ \`SystemTableScan\` / \`SystemTableRead\`).
   - \`FilesystemCatalog.get_table\` and \`RESTCatalog.get_table\` route 
\`\$\`-suffixed identifiers to the loader; non-system requests are unchanged.
   - Eight tables implemented: \`snapshots\`, \`schemas\`, \`options\`, 
\`manifests\`, \`files\`, \`partitions\`, \`tags\`, \`branches\`. Schema, 
nullability and primary keys match Java's \`TABLE_TYPE\`.
   - Manager helpers added where needed: \`SnapshotManager.list_snapshots\`, 
\`SchemaManager.list_all\`, \`BranchManager.branch_create_time\`.
   - Predicate pushdown is not implemented yet: \`with_filter\` raises 
\`NotImplementedError\` rather than dropping the filter silently. A few columns 
are emitted as NULL/0 placeholders (documented).
   - User docs: \`docs/content/pypaimon/system-tables.md\`.
   
   ## Test plan
   
   - [x] \`pytest pypaimon/tests/system/\` (73 tests, all green)
   - [x] Regression: \`pytest pypaimon/tests/filesystem_catalog_test.py 
pypaimon/tests/filesystem_catalog_branch_test.py 
pypaimon/tests/filesystem_catalog_tag_test.py 
pypaimon/tests/snapshot_manager_test.py pypaimon/tests/schema_manager_test.py 
pypaimon/tests/branch_manager_test.py pypaimon/tests/branch/ 
pypaimon/tests/rest/rest_catalog_test.py\` (102 tests, all green)
   - [x] \`bash dev/lint-python.sh -i license,flake8\`


-- 
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