[ https://issues.apache.org/jira/browse/HUDI-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16939638#comment-16939638 ]
Vinoth Chandar commented on HUDI-285: ------------------------------------- In general, in support of actually instantiating the writer based on the actual file type.. there is a HoodieFileFormat class already.. may be we can just reuse that? > Implement HoodieStorageWriter based on the metadata > --------------------------------------------------- > > Key: HUDI-285 > URL: https://issues.apache.org/jira/browse/HUDI-285 > Project: Apache Hudi (incubating) > Issue Type: Improvement > Components: Write Client > Reporter: leesf > Assignee: leesf > Priority: Major > Fix For: 0.5.1 > > > Currently the _getStorageWriter_ method in HoodieStorageWriterFactory to get > HoodieStorageWriter is hard code to HoodieParquetWriter since currently only > parquet is supported for HoodieStorageWriter. However, it is better to > implement HoodieStorageWriter based on the metadata for extension. And if > _StorageWriterType_ is emtpy in metadata, the default HoodieParquetWriter is > returned to not affect the current logic. > cc [~vinoth] [~vbalaji] -- This message was sent by Atlassian Jira (v8.3.4#803005)