Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Reply To: Sandbox – Pig Basic Tutorial example is nbot working

$
0
0

Hi All,

I figured out the small fix for this issue. It seems that it has been appearing in all the images whether new or old. Just do the below.

Pig -useHCatalog

And once you get into the pig shell and want to load the table say ‘table1’ then use the below:

relationa = load ‘table1’ using org.apache.hive.hcatalog.pig.HCatLoader();

and you could get the table1 loaded to your relation relationa.

Thanks

Mimant

 

 


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>