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

upgrade clap to version 3 #1672

Merged
merged 2 commits into from
Jan 25, 2022
Merged

upgrade clap to version 3 #1672

merged 2 commits into from
Jan 25, 2022

Conversation

jimexist
Copy link
Member

Which issue does this PR close?

Closes #1671

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions bot added ballista datafusion Changes in the datafusion crate labels Jan 25, 2022
Ok(())
} else {
Err(format!("Invalid file '{}'", dir))
}
}

fn is_valid_data_dir(dir: String) -> std::result::Result<(), String> {
fn is_valid_data_dir(dir: &str) -> std::result::Result<(), String> {
if Path::new(&dir).is_dir() {
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if Path::new(&dir).is_dir() {
if Path::new(dir).is_dir() {

Copy link
Member

@xudong963 xudong963 left a comment

Choose a reason for hiding this comment

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

Thanks @jimexist, after the ticket merged, the issue #1666 can be closed too.

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 -- thanks @jimexist

@houqp houqp merged commit ee91c68 into apache:master Jan 25, 2022
@jimexist jimexist deleted the upgrade-clap branch January 25, 2022 23:29
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.

4 participants