vinothchandar edited a comment on issue #886: [HUDI-244] : Hive sync should 
escape partition field name
URL: https://github.com/apache/incubator-hudi/pull/886#issuecomment-530905521
 
 
   Fair . That was me being hasty. If its already escaping it (I see that line 
since 2018-12), the SQL somehow does not have the escaping. 
   
   ```
   2019-09-12 16:29:45,966 INFO  [main] hive.HoodieHiveClient 
(HoodieHiveClient.java:createTable(261)) - Creating table with CREATE EXTERNAL 
TABLE  IF NOT EXISTS default.stock_ticks_cow( `_hoodie_commit_time` string, 
`_hoodie_commit_seqno` string, `_hoodie_record_key` string, 
`_hoodie_partition_path` string, `_hoodie_file_name` string, `volume` bigint, 
`ts` string, `symbol` string, `year` int, `month` string, `high` double, `low` 
double, `key` string, `date` string, `close` double, `open` double, `day` 
string) PARTITIONED BY (dt String) ROW FORMAT SERDE 
'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe' STORED AS 
INPUTFORMAT 'org.apache.hudi.hadoop.HoodieInputFormat' OUTPUTFORMAT 
'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' LOCATION 
'/user/hive/warehouse/stock_ticks_cow'
   ```
   
    Will look closer and update patch. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to