Uh oh!
There was an error while loading. Please reload this page.
GH-46087: [FlightSQL] Allow returning column remarks in FlightSQL's CommandGetTables - #46110
Conversation
raulcd
commented
Apr 11, 2025
macOS 13 and MinGW failures are unrelated and failing on other PRs. See: |
mateuszrzeszutek
commented
Apr 11, 2025
Looks like the integration tests have failed on the C++ vs Go/Java comparison: I've reverted the changes to the integration test code here. |
81b10b6 to
4bd6cf8Comparemateuszrzeszutek
commented
Apr 22, 2025
Hey @lidavidm , any chance you can take a look at this PR? |
lidavidm
commented
Apr 22, 2025
I believe if we want to add this to the spec we should have implementations in at least one other language (preferably both Go/Java if possible, though) and vote on it, as trivial as it is |
lidavidm
left a comment
There was a problem hiding this comment.
The proposal itself seems reasonable, though
There was a problem hiding this comment.
nit: maybe "An explanatory comment" or something (following the JDBC documentation)? Or was this meant to say "A comment describing the column"?
There was a problem hiding this comment.
Yup, sorry for the typo -- I changed that to "A comment describing the column"
mateuszrzeszutek
commented
Apr 23, 2025
Sure, makes sense 👍 . I'll work on the draft PRs and post links here. |
lidavidm
commented
Apr 23, 2025
CC @zeroshade, I assume no objections :) |
mateuszrzeszutek
commented
Apr 24, 2025
@lidavidm here's the draft implementation for Java apache/arrow-java#727 |
mateuszrzeszutek
commented
Apr 24, 2025
And here's the Go PR: apache/arrow-go#361 |
There was a problem hiding this comment.
One thing that I was thinking about, though, should we note that this field was added after the others and clients should be prepared to find it missing?
lidavidm
commented
Apr 25, 2025
Thanks for the PRs. They look reasonable to me. I'd like to let zeroshade take a look and then we can call a vote. |
zeroshade
left a comment
There was a problem hiding this comment.
No objections from me here. I'll review the Go PR, but I'd say we can move forward with a vote.
lidavidm
commented
Apr 27, 2025
Ah, should we restore the integration test as well? We've required that for votes before. It's OK if it's failing for now. As long as the test is present we can vote and then we can merge the PRs in order. |
mateuszrzeszutek
commented
Apr 27, 2025
Okay -- I'll add the changes needed to make the tests work to the Java/Go PRs as well |
…QL's CommandGetTables
This reverts commit cd3008b172d57ca562a4e0809b2d01cb12d36cdc.
lidavidm
commented
Apr 27, 2025
Thanks - vote in progress |
Uh oh!
There was an error while loading. Please reload this page.
lidavidm
commented
May 2, 2025
I've closed the vote. In terms of how to merge this, I think we can merge Go/Java first, then if we rebase here, the integration tests should pass? |
Sounds good to me 👍 Both Java and Go PRs are ready to review, PTAL at them 🙏 |
…ommandGetTables (#361) ### Rationale for this change See apache/arrow#46110 ### What changes are included in this PR? A new column metadata value ### Are these changes tested? No; there seem to be no tests that'd verify that `ColumnMetadata` works; should I add unit tests specifically for the new methods? ### Are there any user-facing changes? Yes, two new methods
…mandGetTables (#727) Resolves#737 ## What's Changed This is an implementation of apache/arrow#46110 for Java
lidavidm
commented
May 3, 2025
Go/Java merged. Re-running integration here. |
lidavidm
commented
May 3, 2025
it passes! |
lidavidm
commented
May 3, 2025
Thanks @mateuszrzeszutek! |
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 2bb5fd5. There were 6 benchmark results indicating a performance regression:
The full Conbench report has more details. It also includes information about 3 possible false positives for unstable benchmarks that are known to sometimes produce them. |
…mandGetTables (#727) Resolves #737 ## What's Changed This is an implementation of apache/arrow#46110 for Java
…'s CommandGetTables (apache#727) Resolvesapache#737 ## What's Changed This is an implementation of apache/arrow#46110 for Java
…'s CommandGetTables (apache#727) Resolvesapache#737 ## What's Changed This is an implementation of apache/arrow#46110 for Java
Resolves#46087
Rationale for this change
FlightSQL allows returning various column metadata in
CommandGetTables, but one thing that's missing is human-readable column description. This PR proposes adding a newARROW:FLIGHT:SQL:REMARKSmetadata property taht will contain a comment describing a column. This is inspired by JDBC'sDatabaseMetaData#getColumns()method, and later on I'm planning on adding this change to arrow-java as well.What changes are included in this PR?
ARROW:FLIGHT:SQL:REMARKSColumnMetadataimplementationPlease tell me if there's anything else in the other languages that I should add.
Are these changes tested?
Covered by existing tests; no new test cases added.
Are there any user-facing changes?
Yes, a couple new constants/methods added to the
ColumnMetadataclass and its builderCommandGetTables#46087