Satyam Raj
04/04/2022, 9:58 AMKartik Khare
04/04/2022, 9:59 AMSatyam Raj
04/04/2022, 10:02 AMKartik Khare
04/04/2022, 10:05 AMSatyam Raj
04/04/2022, 10:05 AMKartik Khare
04/04/2022, 10:08 AMjava -jar orc-tools-X.Y.Z-uber.jar meta your-file.orc
should print the schemaSatyam Raj
04/04/2022, 10:11 AM_col0, _col2
and so onKartik Khare
04/04/2022, 10:11 AMjava -jar orc-tools-1.5.5-uber.jar meta 000000_0
this should work in your caseKartik Khare
04/04/2022, 10:17 AMSatyam Raj
04/04/2022, 10:21 AM➜ batchjob-spec java -jar orc-tools-1.5.5-uber.jar meta 000000_0
log4j:WARN No appenders could be found for logger (org.apache.hadoop.util.Shell).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See <http://logging.apache.org/log4j/1.2/faq.html#noconfig> for more info.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.hadoop.security.authentication.util.KerberosUtil (file:/Users/satyam.raj/dataplatform/pinot-dist/batchjob-spec/orc-tools-1.5.5-uber.jar) to method sun.security.krb5.Config.getInstance()
WARNING: Please consider reporting this to the maintainers of org.apache.hadoop.security.authentication.util.KerberosUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Processing data file 000000_0 [length: 8321467]
Structure for 000000_0
File Version: 0.12 with HIVE_8732
Rows: 723010
Compression: ZLIB
Compression size: 262144
Type: struct<_col0:string,_col1:string,_col2:string,_col3:string,_col4:string,_col5:string,_col6:string,_col7:string,_col8:string,_col9:string,_col10:string,_col11:string,_col12:string,_col13:int,_col14:int,_col15:int,_col16:string,_col17:string,_col18:date,_col19:date,_col20:date,_col21:string,_col22:string>
Stripe Statistics:
Stripe 1:
Column 0: count: 723010 hasNull: false
Column 1: count: 723010 hasNull: false min: 1000 max: 99999750 sum: 6114370
Column 2: count: 723010 hasNull: false min: customer max: customer sum: 5784080
Column 3: count: 723010 hasNull: false min: Birmingham max: wollongong sum: 2285843
Kartik Khare
04/04/2022, 10:25 AMtransformConfigs
in table config fileSatyam Raj
04/04/2022, 10:26 AMdate
fields in orcKartik Khare
04/04/2022, 10:26 AMSatyam Raj
04/04/2022, 10:37 AM