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();
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 ?