Created 01-30-2019 10:28 AM
Hi,
I am using hortonworks sandbox hdp 3.0 . I am trying to load pig relation from hive table using below script
pig -x tez -useHCatalog
a = load 'exam.emp' using org.apache.hive.hcatalog.pig.HCatLoader();
dump a;
When i describe relation 'a' after executing load statement it shows the schema same as hive table structure. But when i try to dump relation a no data gets load from hive table.
can anyone help me resolve this issue ?
Thank you