-
Notifications
You must be signed in to change notification settings - Fork 735
Support convertations PG types from YQL to Apache Arrow #28647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support convertations PG types from YQL to Apache Arrow #28647
Conversation
|
🟢 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for converting PostgreSQL types between YQL and Apache Arrow format. The implementation enables PG types to be serialized to Arrow's string representation using PostgreSQL's native text format.
- Implements bidirectional conversion between PG types and Arrow format using string representation
- Adds comprehensive test coverage for PG type conversions (Bool, Int8, Text)
- Removes pg_dummy dependencies and adds proper pg_wrapper dependencies
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| ydb/core/kqp/ut/arrow/ya.make | Removes pg_dummy dependency that is no longer needed |
| ydb/core/kqp/common/result_set_format/ya.make | Adds pg_wrapper dependency for PG type conversion support |
| ydb/core/kqp/common/result_set_format/ut/ya.make | Removes pg_dummy dependency from unit tests |
| ydb/core/kqp/common/result_set_format/ut/kqp_formats_ut_helpers.cpp | Implements ExtractUnboxedValue for PG types using PgValueFromNativeText |
| ydb/core/kqp/common/result_set_format/ut/kqp_formats_arrow_ut.cpp | Adds comprehensive test coverage for PG type conversions with test helper functions |
| ydb/core/kqp/common/result_set_format/kqp_formats_arrow.h | Updates documentation to reflect PG type support in Arrow conversion |
| ydb/core/kqp/common/result_set_format/kqp_formats_arrow.cpp | Implements PG type conversion logic using PgValueToNativeText for Arrow serialization |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ydb/core/kqp/common/result_set_format/ut/kqp_formats_arrow_ut.cpp
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
⚪ ⚪ Ya make output | Test bloat | Test bloat
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
…#28647) Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…#28647) Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Changelog entry
...
Changelog category
Description for reviewers
...