You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[EPIC] Improve examples to make them easier to navigate #11172
While working with @lewiszlw in #11173 (comment) I think I came up with a better idea -- that is to update the user guide so they code examples are run / tested
Then we can move many/all of the examples from rust to the user guide, which will make them easier to find and navigate. 🏃
I played around with what we have and it turns out I think we can test examples in the user guide. I made a PR with docs of how to do it: #11178
I think with that framework we could add many of the simpler examples directly into the documentation where they would be eaiser to find. We can leave the more complex ones in datafusion-examples perhaps
changed the title [-]Consolidate examples to make them easier to navigate[/-][+][EPIC] Improve examples to make them easier to navigate[/+]on Jul 2, 2024
@alamb I think there is one more thing we can do, though perhaps it is only my preference.
We can consolidate them into folders, a big sql.rs might hinder ease of navigation, but if we are going to keep adding examples it might be better to have them in a directory, we can do that for other general domains like parquet and csv too.
@alamb I think there is one more thing we can do, though perhaps it is only my preference.
We can consolidate them into folders, a big sql.rs might hinder ease of navigation, but if we are going to keep adding examples it might be better to have them in a directory, we can do that for other general domains like parquet and csv too.
Except that, I think we can close this issue.
I actually think keping them in a single directory, while somewhat overwhelming, is good for discoverability (aka knowing what is available) so until we get more I would recommend we keep it that way
Activity
alamb commentedon Jun 29, 2024
While working with @lewiszlw in #11173 (comment) I think I came up with a better idea -- that is to update the user guide so they code examples are run / tested
Then we can move many/all of the examples from rust to the user guide, which will make them easier to find and navigate. 🏃
alamb commentedon Jun 29, 2024
I played around with what we have and it turns out I think we can test examples in the user guide. I made a PR with docs of how to do it: #11178
I think with that framework we could add many of the simpler examples directly into the documentation where they would be eaiser to find. We can leave the more complex ones in datafusion-examples perhaps
Thoughts?
efredine commentedon Jun 29, 2024
As a newcomer I'll say that this seems right to me. Examples that are right in the documentation are much more discoverable.
[-]Consolidate examples to make them easier to navigate[/-][+][EPIC] Improve examples to make them easier to navigate[/+]alamb commentedon Jul 15, 2024
I plan do to this as a background task, but realistically can't devote enough focus time to it now
logan-keede commentedon Jan 22, 2025
take
alamb commentedon Jan 22, 2025
Thank you @logan-keede 🙏
After #14240 I don't think there is any example left for consolidation that I can see
logan-keede commentedon Jan 23, 2025
@alamb I think there is one more thing we can do, though perhaps it is only my preference.
We can consolidate them into folders, a big
sql.rsmight hinder ease of navigation, but if we are going to keep adding examples it might be better to have them in a directory, we can do that for other general domains likeparquetandcsvtoo.Except that, I think we can close this issue.
alamb commentedon Jan 23, 2025
I actually think keping them in a single directory, while somewhat overwhelming, is good for discoverability (aka knowing what is available) so until we get more I would recommend we keep it that way