[native] Add support for Parquet Writer#19916
Conversation
There was a problem hiding this comment.
It looks a bit strange for a method called toStorageFormat to return a FileFormat. Can this be called toFileFormat instead ?
There was a problem hiding this comment.
Good point. Fixed!
aditi-pandit
left a comment
There was a problem hiding this comment.
Thanks Deepak for this change.
8f60590 to
49f82fe
Compare
|
@xiaoxmeng can you please take a look at this? |
|
@xiaoxmeng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
xiaoxmeng
left a comment
There was a problem hiding this comment.
@majetideepak thanks for the change!
There was a problem hiding this comment.
Do we support all these formats now? @majetideepak @Yuhta Thanks!
There was a problem hiding this comment.
No, but we will get an informative reader/writer factory error in velox anyway so it's ok to forward them all here
There was a problem hiding this comment.
I removed them to keep it consistent with other similar conversions (eg. TableType TEMPORARY is not forwarded).
The error message is also cleaner in the protocol than a Velox factory error.
There was a problem hiding this comment.
Can we add to test the format that we won't support? Thanks!
There was a problem hiding this comment.
However, it needed extending the presto protocol.
49f82fe to
2f1eb35
Compare
xiaoxmeng
left a comment
There was a problem hiding this comment.
@majetideepak LGTM. Thanks!
2f1eb35 to
ea817a3
Compare
Extend presto protocol to support HiveStorageFormat::toJson()
ea817a3 to
90d569a
Compare
|
@xiaoxmeng can you please help with the |
|
@xiaoxmeng has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Extend presto protocol to support HiveStorageFormat::toJson()
Test plan
Add a E2E test with Parquet as the table storage format.