JingsongLi opened a new pull request, #467: URL: https://github.com/apache/paimon-rust/pull/467
## Summary Adds Python DataFusion SQL helper UDFs for BLOB-backed multimodal workflows and vector JSON bridging. This builds on the existing video frame extraction support with media metadata, thumbnail generation, and JSON-to-vector conversion helpers. ## Changes - Register Python binding built-ins for `media_info`, `media_thumbnail`, `vector_from_json`, and `vector_to_json`. - Add media inspection and PNG thumbnail generation for inline BLOB bytes and resolvable BlobDescriptor inputs. - Add JSON vector bridge helpers that convert JSON float arrays to Arrow `List<Float32>` values and back to JSON strings. - Extend Python DataFusion tests for registration, image/video metadata, thumbnails, invalid inputs, and vector conversion. - Document the Python-only multimodal helper functions in SQL docs, README, and package description. ## Testing - [x] `cargo check -p pypaimon_rust` - [x] `cargo fmt --check` - [x] `git diff --check` - [x] `uv run --no-sync pytest tests/test_datafusion.py` ## Notes These helper functions are registered by `pypaimon_rust.datafusion.SQLContext`; they are not registered by the Rust `paimon_datafusion::SQLContext`. Relates to #227. -- 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]
