-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Non-serializable dwio::common::WriterOptions
in query plan
#12437
Comments
dwio::common::WriterOptions
in query plandwio::common::WriterOptions
in query plan
dwio::common::WriterOptions
in query plandwio::common::WriterOptions
in query plan
Hi @pedroerp @majetideepak, do you have any insights on this? Can we remove the argument https://github.com/facebookincubator/velox/pull/10380/files#diff-a1fcb0b1688f565292b01dfa744db481ec2928d5dc3dc4e889dec70968a85e03R200-R201, and instead provide an API to let user specify the default writer options (reader as well perhaps) when registering the writer factory? |
@zhztheplayer The writer factory has a createWriter API where you can pass the writerOptions and it also has the |
I was thinking to add the options as an argument directly to
If no usages yet, should we remove the options from query plan fragment to maintain the immutability and consistency in serialization / deserialization of the |
I agree that we should remove the options. But I will let @pedroerp answer this since he is more familiar. |
Description
When building a
TableWriteNode
from JSON, fieldTableWriteNode->insertTableHandle->writerOptions
is always null since there is no deserialization code written for it. See code.This blocks user from executing a JSON Velox plan with customized write options (page size, etc.). A fix might be needed.
The text was updated successfully, but these errors were encountered: