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

ARROW-9760: [Rust] [DataFusion] Added DataFrame::explain #7993

Closed
wants to merge 1 commit into from
Closed

ARROW-9760: [Rust] [DataFusion] Added DataFrame::explain #7993

wants to merge 1 commit into from

Conversation

jorgecarleitao
Copy link
Member

FYI @andygrove and @alamb

I admit I find this API a bit counter-intuitive: coming from spark, I would be expect a string when I call df.explain()?. However, I am following the commitment of understanding explain as a table with one row and one column and leave the collect and print for the users to handle.

@github-actions
Copy link

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

The implementation looks good to me. I don't have any strong opinion or feedback on the API design

rust/datafusion/src/dataframe.rs Show resolved Hide resolved
@alamb
Copy link
Contributor

alamb commented Aug 19, 2020 via email

@andygrove
Copy link
Member

After thinking about this some more, I'm also fine with the current implementation that returns a DataFrame.

@jorgecarleitao
Copy link
Member Author

Ready to go, then!

@andygrove andygrove closed this in 3cb0bd8 Aug 19, 2020
emkornfield pushed a commit to emkornfield/arrow that referenced this pull request Sep 8, 2020
FYI @andygrove and @alamb

I admit I find this API a bit counter-intuitive: coming from spark, I would be expect a string when I call `df.explain()?`. However, I am following the commitment of understanding `explain` as a table with one row and one column and leave the collect and print for the users to handle.

Closes apache#7993 from jorgecarleitao/df_explain

Authored-by: Jorge C. Leitao <jorgecarleitao@gmail.com>
Signed-off-by: Andy Grove <andygrove73@gmail.com>
@jorgecarleitao jorgecarleitao deleted the df_explain branch September 30, 2020 15:19
emkornfield pushed a commit to emkornfield/arrow that referenced this pull request Oct 16, 2020
FYI @andygrove and @alamb

I admit I find this API a bit counter-intuitive: coming from spark, I would be expect a string when I call `df.explain()?`. However, I am following the commitment of understanding `explain` as a table with one row and one column and leave the collect and print for the users to handle.

Closes apache#7993 from jorgecarleitao/df_explain

Authored-by: Jorge C. Leitao <jorgecarleitao@gmail.com>
Signed-off-by: Andy Grove <andygrove73@gmail.com>
GeorgeAp pushed a commit to sirensolutions/arrow that referenced this pull request Jun 7, 2021
FYI @andygrove and @alamb

I admit I find this API a bit counter-intuitive: coming from spark, I would be expect a string when I call `df.explain()?`. However, I am following the commitment of understanding `explain` as a table with one row and one column and leave the collect and print for the users to handle.

Closes apache#7993 from jorgecarleitao/df_explain

Authored-by: Jorge C. Leitao <jorgecarleitao@gmail.com>
Signed-off-by: Andy Grove <andygrove73@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants