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

------------------------------------------------------------------------------
  To run the specified command file.
  === Syntax ===
  {{{
-   hql > @ 'hdfs://hbase/file.txt' [arg...];
+   hql > @ filename [arg...];
  }}}
  
   * The arguments is used to replace some characters with some other 
characters in a query string.
@@ -87, +87 @@

  HQL Loader utility loads data into Hbase tables from external files. If you 
have a large amount of data to load, HQL Loader's parallel support can 
dramatically reduce the elapsed time needed to perform that load.
  ==== Syntax ====
  {{{
- hql > load data file 'hdfs://hbase/big.dat'
-   --> into table tbl_name
-   --> [fields terminated by '\t']
-   --> [lines terminated by '\n']
+ hql > LOAD DATA FILE file_name
+   --> INTO TABLE tbl_name
+   --> [FIELDS TERmINATED BY '\t']
+   --> [LINES TERmINATED BY '\n']
    --> [(column1[, column2, ...])];
  }}}
  ==== Applications ====

Reply via email to