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

[Bug][Datafusion] fix TaskContext session_config bug #2070

Merged
merged 7 commits into from
Mar 24, 2022

Conversation

EricJoy2048
Copy link
Member

closes #2069

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.

LGTM

.await?;

// test udf
let df = ctx.sql("select count(1) from aggregate_test_100").await?;
Copy link
Contributor

Choose a reason for hiding this comment

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

💯 for test

Copy link
Contributor

Choose a reason for hiding this comment

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

@alamb
Do we have the UT or IT for the ballista side?
I think this test_sql.rs file just adds an example for the ballista.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can add this test for the UT or it IT framework.

Copy link
Member Author

Choose a reason for hiding this comment

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

@liukun4515 I think we need a ballista-integration-test cargo.

Copy link
Member Author

Choose a reason for hiding this comment

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

@liukun4515 How about add a ballista-integration-test cargo?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think https://github.com/apache/arrow-datafusion/issues/321 tracks some of this -- I will make a note

Copy link
Contributor

Choose a reason for hiding this comment

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

about add a ballista-integration-

agree with the suggestion.
we can discuss this in this issue https://github.com/apache/arrow-datafusion/issues/321.

@gaojun2048 you can provide some suggestions or proposals.
You can point out some lack of ballista about test and record them.
We can make a plan to address them in Q2.

session_config
} else {
session_config
.with_batch_size(props.get(BATCH_SIZE).unwrap().parse().unwrap())
Copy link
Contributor

Choose a reason for hiding this comment

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

@github-actions github-actions bot added ballista datafusion Changes in the datafusion crate labels Mar 23, 2022
@alamb
Copy link
Contributor

alamb commented Mar 23, 2022

None of the CI checks ran on this branch @ ccf6709 (probably because github was having issuesearlier today ) so I merged apache/master into this branch in 5cda9d1 in an attempt to start the checks

@mingmwang
Copy link
Contributor

My bad. The properties in the TaskContext is not populated in this PR.

The fix LGTM.

@alamb alamb merged commit 04da6a6 into apache:master Mar 24, 2022
@alamb
Copy link
Contributor

alamb commented Mar 24, 2022

Thanks @gaojun2048

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datafusion Changes in the datafusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DataFusion] [TaskContext] ballista test error
4 participants