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

[cosmetic] doctest formatting #78

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

ccciudatu
Copy link
Collaborator

Makes the documentation example more readable

/// async fn metadata(&self, channel: Channel, opts: &HashMap<String, String>)
/// -> arrow_flight::error::Result<FlightMetadata> {
/// let mut client = FlightClient::new(channel);
/// // the `flight.` prefix is an already registered namespace in datafusion-cli
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this comment was a leftover

/// CREATE EXTERNAL TABLE custom_flight_table STORED AS CUSTOM_FLIGHT
/// LOCATION 'https://custom.flight.rpc'
/// OPTIONS ('flight.command' 'select * from everywhere')
/// "#).await; // will fail as it can't connect to the bogus URL, but we ignore the error
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

trying to connect to the fake URL above was not a very good idea

@ccciudatu ccciudatu merged commit 8020b1b into datafusion-contrib:main Aug 28, 2024
3 checks passed
@ccciudatu ccciudatu deleted the doctest-fmt branch August 28, 2024 01:13
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