lucasfang commented on PR #585: URL: https://github.com/apache/paimon-cpp/pull/585#issuecomment-7090285010
**[P2] Preserve catalog metadata access in the new compaction API** The previous API allowed callers to create a writer with `WithCatalog()` and compact a specific set of files through `CompactFiles()`. The new entry point creates its own context without a catalog and provides no way to pass one. For an append table whose current schema is available only through the catalog, writer creation now fails with `not found latest schema in branch main`. The existing `Compact()` API cannot replace this functionality because it does not accept a file selection. Could we accept a catalog/identifier or an existing context here to preserve this use case? -- 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]
