Skip to content
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

Create RecordBatch in BradStatement from query result and schema exposed from underlying connections #502

Merged
merged 6 commits into from
May 1, 2024

Conversation

sopzha
Copy link
Collaborator

@sopzha sopzha commented Apr 28, 2024

No description provided.

@sopzha sopzha self-assigned this Apr 28, 2024
@sopzha
Copy link
Collaborator Author

sopzha commented Apr 28, 2024

(Also added as a TODO) not super sure how to check for uninitialized or null values in query_result for all field types before calling AppendNull on the builder object. For utf8 / string fields, I assumed an empty string is equivalent to having a null value.

@sopzha sopzha requested a review from geoffxy April 28, 2024 02:47
Copy link
Member

@geoffxy geoffxy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great - thanks @sopzha!

cpp/server/brad_server_simple.cc Outdated Show resolved Hide resolved
cpp/server/brad_server_simple.cc Outdated Show resolved Hide resolved
@sopzha sopzha merged commit b4a54a9 into main May 1, 2024
1 check passed
@sopzha sopzha deleted the flight-sql branch May 1, 2024 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants