Want more features on Pastebin? Sign Up, it's FREE!


By: a guest on Sep 13th, 2013  |  syntax: Java  |  size: 0.26 KB  |  views: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pigServer.registerQuery("mytable_data = load 'hbase://mytable' using org.apache.pig.backend.hadoop.hbase.HBaseStorage('cf', '-loadKey true') as (rowkey:chararray, columncontent:map[]);");
  2. printAlias("mytable_data"); // own function, which itereate over the keys
clone this paste RAW Paste Data