Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The following page has been changed by udanax: http://wiki.apache.org/hadoop/Hbase/HbaseShell/HQL ------------------------------------------------------------------------------ ==== Applications ==== {{{ map { - rs = hql.executeQuery("select filePath: from tbl_name where row='" + rowKey + "';"); + rs = hql.executeQuery("select filePath: from tbl_name where row='" + rowKey + "' and column='column:forTmpTable';"); - hql.executeQuery("load data file '" + rs.result() + "' into table_name;"); + hql.executeQuery("load data file '" + rs.result() + "' into tmpTable;"); } }}} @@ -97, +97 @@ ''Is this best implemented as part of the shell? Why not have a bin/hbase loader that takes the options on the command line? bryanduxbury'' - ''bryanduxbury: Yes. i think it should be provided on the language level, but I have no objection to './bin/hbase loader'. Ed'' + ''bryanduxbury: Yes. i think it should be provided on the language level of HQL, but I have no objection to './bin/hbase loader'. Ed'' === Data Dumping === + HQL dumper utility dumps data into external files from Hbase Hbase tables. + ==== Syntax ==== + {{{ + + }}} ----
