[ 
https://issues.apache.org/jira/browse/HIVE-8950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16906363#comment-16906363
 ] 

Szehon Ho edited comment on HIVE-8950 at 8/13/19 4:19 PM:
----------------------------------------------------------

Made an amount of test fixes.  Now that columns come from deserializer, the 
comment becomes "" instead of null.

As part of trying to fix test, add an if check for setTableLocInTableProperties 
for non-external storage-handlers, and set 
ParquetHIveSerde.shouldStoreFieldsInMetastore to be false.  The Serde flag seem 
to have been added after this patch was first made.


was (Author: szehon):
Made an amount of test fixes.  Now that columns come from deserializer, the 
comment becomes "" instead of null.

Also, add an if check for setTableLocInTableProperties for non-external 
storage-handlers, and set ParquetHIveSerde.shouldStoreFieldsInMetastore to be 
false.

> Add support in ParquetHiveSerde to create table schema from a parquet file
> --------------------------------------------------------------------------
>
>                 Key: HIVE-8950
>                 URL: https://issues.apache.org/jira/browse/HIVE-8950
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ashish Singh
>            Assignee: Ashish Singh
>            Priority: Major
>         Attachments: HIVE-8950.1.patch, HIVE-8950.10.patch, 
> HIVE-8950.2.patch, HIVE-8950.3.patch, HIVE-8950.4.patch, HIVE-8950.5.patch, 
> HIVE-8950.6.patch, HIVE-8950.7.patch, HIVE-8950.8.patch, HIVE-8950.9.patch, 
> HIVE-8950.patch
>
>
> PARQUET-76 and PARQUET-47 ask for creating parquet backed tables without 
> having to specify the column names and types. As, parquet files store schema 
> in their footer, it is possible to generate hive schema from parquet file's 
> metadata. This will improve usability of parquet backed tables.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to