Skip to content

Conversation

@wenym1
Copy link

@wenym1 wenym1 commented Dec 6, 2024

With the same motivation to #760, but for the FileWrite trait.

schema: SchemaRef,
out_file: OutputFile,
writer: AsyncArrowWriter<AsyncFileWriter<TrackWriter>>,
writer: AsyncArrowWriter<AsyncFileWriter<TrackWriter<opendal::Writer>>>,
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm reluctant to have 3rd party classes in our API.

Copy link
Author

Choose a reason for hiding this comment

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

Changed to use a opaque type defined by TAIT to hide the 3rd party type.

@wenym1 wenym1 requested a review from Fokko December 11, 2024 06:35
@Xuanwo
Copy link
Member

Xuanwo commented Apr 14, 2025

Hi, I personally feel that the benefits of avoiding the use of async_trait at our FileWrite level aren't worth it. I'm going to close this PR now. Feel free to start a discussion about your motivation behind this!

@Xuanwo Xuanwo closed this Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants