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

Closed
wants to merge 1 commit into 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.

@Xuanwo
Copy link
Member

Xuanwo commented Mar 11, 2025

Hi, @yjhmelody thank you for the contribution. I'm going to close this PR as the code here is not duplicated.

@Xuanwo Xuanwo closed this Mar 11, 2025
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