Skip to content

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)

/// # 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! ❤️

///
/// [`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
@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