shyjsarah opened a new issue, #622: URL: https://github.com/apache/paimon-rust/issues/622
### Search before asking - [x] I searched the existing issues and did not find a duplicate. ### Problem `SQLContext` stores options set through statements such as: ```sql SET 'paimon.blob-as-descriptor' = 'true'; ``` Normal Paimon table scans merge these session-scoped dynamic options into the loaded `Table`. The automatically registered `vector_search` table function instead captures the raw `Catalog`, loads the table directly, and materializes matched rows from that unmodified table. As a result, `vector_search` ignores session dynamic options. In particular, selecting a BLOB column from `vector_search` resolves and reads the actual BLOB payload even when `paimon.blob-as-descriptor` is enabled, rather than returning the serialized descriptor. ### Expected behavior Tables loaded by the automatically registered `vector_search` function should receive the same session dynamic options as ordinary table scans. The standalone public registration API should remain backward compatible. ### Proposed fix Pass the shared dynamic-options map when `SQLContext` registers `vector_search`, and merge a snapshot of those options into the table before creating the vector-search provider. Add a regression test covering `blob-as-descriptor`. -- 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]
