Hi,

what is the best way to save Date/Big Decimal java type  to ORC
DateTime/Decimal(10,2) using ORC writer? i am not using hive , but using
ORC java API to save as ORC format.

after going through documentation, saving as Java util.date, the type
stored in ORC as
struct<timestamp:struct<fasttime:bigint,cdate:struct<cachedyear:int,cachedfixeddatejan1:bigint,cachedfixeddatenextjan1:bigint>>,

and for java BigDecimal its
margin:struct<intval:struct<signum:int,mag:struct<>,bitcount:int,bitlength:int,lowestsetbit:int,firstnonzerointnum:int>

are they correct?

-Praveen

Reply via email to