-
Notifications
You must be signed in to change notification settings - Fork 3k
Spark: Set properties for deletewriter #2859
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
Conversation
| case PARQUET: | ||
| return Parquet.writeDeletes(file.encryptingOutputFile()) | ||
| .createWriterFunc(msgType -> SparkParquetWriters.buildWriter(lazyEqDeleteSparkType(), msgType)) | ||
| .setAll(properties) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution, @coolderli ! I also think the newPosDeleteWriter need the properties setting ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@coolderli, could you add this update?
|
@coolderli, if you have a use case where you found this problem, could you add it to the description? In what cases is this needed? |
@rdblue I was trying to use this writer to implement merge-on-read mode on spark for |
|
@coolderli, what went wrong without this? Also, you should definitely coordinate with @aokolnychyi on the Spark implementations. I believe that he has them fully working at this point. |
Yes, I found @aokolnychyi has implemented new writes #2873, we can use the new writer. |
|
Would appreciate your review on the new writers, @coolderli! |
|
I think we got this covered in the new |
Yes, I think the new |
DeleteWrite should call
setAll(properties)to set properties for Parquet and Avro.