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

Minor: Improve API docs for FlightSQL metadata builders #4667

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Aug 8, 2023

Which issue does this PR close?

N/a

Rationale for this change

When updating IOx to use some of these APIs in https://github.com/influxdata/influxdb_iox/pull/8455 and https://github.com/influxdata/influxdb_iox/pull/8453 I notices some documentation inconsistencies.

What changes are included in this PR?

Update doc APIs

Are there any user-facing changes?

better docs

@github-actions github-actions bot added arrow Changes to the arrow crate arrow-flight Changes to the arrow-flight crate labels Aug 8, 2023
@@ -334,8 +334,8 @@ impl SqlInfoUnionBuilder {
/// [`CommandGetSqlInfo`] are metadata requests used by a Flight SQL
/// server to communicate supported capabilities to Flight SQL clients.
///
/// Servers constuct - usually static - [`SqlInfoData`] via the [SqlInfoDataBuilder`],
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the missing backtick causes this to be rendered incorrectly:

https://docs.rs/arrow-flight/45.0.0/arrow_flight/sql/metadata/struct.XdbcTypeInfoData.html

Screenshot 2023-08-08 at 1 32 07 PM

And it turns out GetSqlInfoBuiler is private but that was not caught because of the bad back ticking

Copy link
Contributor

@appletreeisyellow appletreeisyellow left a comment

Choose a reason for hiding this comment

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

Nice catch!

@alamb
Copy link
Contributor Author

alamb commented Aug 9, 2023

cc @roeap

@alamb alamb merged commit 946e17d into apache:master Aug 9, 2023
12 checks passed
@alamb alamb deleted the alamb/flight_info_docs branch August 9, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate arrow-flight Changes to the arrow-flight crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants