-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 running examples readme #11225
Fix running examples readme #11225
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,9 @@ cd datafusion | |
# Download test data | ||
git submodule update --init | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I tested this locally and the existing command (in the main datafusion directory) also seems to work fine
It does also work in There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. thanks @alamb for testing this. let me quote the commit message, maybe it explains my reasoning better:
i agree. per the commit message
-- I also am against cd-ing into directory as unnecessary and also want the examples to be runnable from an IDE. |
||
# Change to the examples directory | ||
cd datafusion-examples/examples | ||
|
||
# Run the `dataframe` example: | ||
# ... use the equivalent for other examples | ||
cargo run --example dataframe | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why remove this? I think it is intended to ensure that cargo fmt is run on the examples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question, and i see how this is not obvious. That's why it's separate commit with an explanation: