-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-14698: [Docs][FlightRPC] Add API docs for Flight SQL #12616
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
Conversation
|
CC @jduo if you'd like to take a look |
pitrou
left a comment
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.
This is really nice, thank you!
cpp/src/arrow/flight/sql/server.h
Outdated
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.
Spell out "POD" in full (or use an equivalent term)?
docs/source/cpp/api/flightsql.rst
Outdated
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.
Perhaps you want to define a doxygen group encompassing these typedefs and enums?
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.
For the record, how are the corresponding SVGs generated? (do you want to add a comment as to that?)
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.
Is this the case? I though all returned tickets were equivalent and only one of them needed to be fetched, am I misremembering?
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.
Ah yes, this should be "for each FlightEndpoint in FlightInfo"
cpp/src/arrow/flight/sql/types.h
Outdated
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.
*enum int32 ordinal
cpp/src/arrow/flight/sql/types.h
Outdated
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.
Valid union operators
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.
Nit: newline at end of file
|
Hey @lidavidm ! uint32 values are not returned by CommandGetSqlInfo, just int64 ones. Is it better to address this in another PR or in this one? Thanks! |
|
I think if it's just clarifications/fixes, we can address them here. |
|
Thank you all for the suggestions, I've cleaned up the reST markup a bit, tweaked the charts, and fixed up the types in the Protobuf and C++ header |
|
Any final comments? We can open another issue to address anything else we see |
|
Benchmark runs are scheduled for baseline = b285350 and contender = dd52b38. dd52b38 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |

This improves the protocol docs and adds C++ API documentation. Java already has Javadocs so this PR doesn't touch anything there.