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

------------------------------------------------------------------------------
    map {
      rs = hql.executeQuery("@ '" + cmdFilePath + "'"
           + " " + strA + " " + strB;");
+     ...
+ 
-     output.collect(key, rs.result());
+     output.collect(key, value);
    }
  
    main(String[] args) {
@@ -62, +64 @@

  
  CASE 2 :
  
-   rs = hql.executeQuery("@ './install_db.txt';");
+   rs = hql.executeQuery("@ './install_tables.txt';");
  }}}
  
  ''A file of data definition shouldn't be called a 'query file' -- and why 
can't the file just as easily load data?  Can you think of something else to 
call it?  And its possible to do "$ cat DATA_DEFINITION_FILE|./bin/hbase shell" 
to get the same effect? St.Ack''

Reply via email to