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

chore: reduce duplicated code for hdfs #5044

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yjhmelody
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?


Ok(RpDelete::default())
async fn delete(&self, path: &str, args: OpDelete) -> Result<RpDelete> {
self.blocking_delete(path, args)
Copy link
Member

Choose a reason for hiding this comment

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

Thank you very much for this change. However, it's not advisable to use a blocking API call directly (even though we currently do it this way). The ideal approach is to add an async API in hdrs first.

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.

2 participants