You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/05/05 05:48:45 UTC

[GitHub] [incubator-hudi] ambition119 commented on issue #657: [HUDI-57] support orc file

ambition119 commented on issue #657: [HUDI-57] support orc file
URL: https://github.com/apache/incubator-hudi/pull/657#issuecomment-489392598
 
 
   > This is a great start,. Left a bunch of comments.. I think we can keep iteraring on this PR and get it to a working state..
   > 
   > Another question I had was : how do we fetch the bloom filters for indexing in orc case? I dont see those changes..
   
   orc support BloomFilter, I fix code in HoodieOrcConfig,  hive use example :
   ```sql
   CREATE TABLE orc_table stored AS ORC 
   TBLPROPERTIES
   ('orc.compress'='ZLIB',
   'orc.create.index'='true',
   "orc.bloom.filter.columns"="pcid",
   'orc.bloom.filter.fpp'='0.05',
   'orc.stripe.size'='10485760',
   'orc.row.index.stride'='10000') 
   AS 
   SELECT CAST(siteid AS INT) AS id, pcid 
   FROM csv_table 
   DISTRIBUTE BY id sort BY id;
   ```
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services