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

Fix doc build on catalog API #5

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

alamb
Copy link

@alamb alamb commented Jul 25, 2024

This targets the catalog API PR in DataFusion, apache#11516

I broke the doc tests in #4 due a broken link

This PR fixes that (and improves the example slightly)

@@ -52,7 +52,7 @@ use std::sync::Arc;
/// ```
/// # use datafusion_catalog::Session;
/// # use datafusion_common::{Result, exec_datafusion_err};
/// struct SessionState {}
/// # struct SessionState {}
Copy link
Author

Choose a reason for hiding this comment

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

Putting a # in front of this means the statement is not shown in the resulting documentation

Copy link
Owner

Choose a reason for hiding this comment

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

thanks for the explanation! ❤️

@@ -63,7 +63,7 @@ use std::sync::Arc;
/// ```
///
/// [`SessionState`]: https://docs.rs/datafusion/latest/datafusion/execution/session_state/struct.SessionState.html
/// [TableProvider]: crate::TableProvider
/// [`TableProvider`]: crate::TableProvider
Copy link
Author

Choose a reason for hiding this comment

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

This is the fix for the doc failure 🤦

@alamb
Copy link
Author

alamb commented Jul 25, 2024

cc @findepi

@findepi findepi merged commit 64e6c20 into findepi:findepi/catalog-api Jul 25, 2024
21 checks passed
@findepi
Copy link
Owner

findepi commented Jul 25, 2024

thank you!

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