Hi,
I have used org.openx.data.jsonserde.JsonSerDe for loading log data(fields such as Map etc.,) into HIVE External table. I could be able to query the data properly. However the query response time is high and I have created ORC derived table from the staging table using CREATE EXTERNAL TABLE <orc_log> stored as ORC tblproperties("orc.compress"="SNAPPY") AS SELECT * from orig_log;
There are two questions:
1. How to sync ORC table with orig_log table where the data is loading incrementally in this orig table.
2.ANALYZE TABLE statement fails for both orig_log and orc_log tables because the complex JSON data type such as Map is not supported.
Would be great if you can suggest the way to overcome/resolve my issue. Thanks in advance!!!