hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hive/LanguageManual/Select" by ZhengShao
Date Fri, 01 May 2009 21:49:35 GMT
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 ZhengShao:
http://wiki.apache.org/hadoop/Hive/LanguageManual/Select

------------------------------------------------------------------------------
  SELECT * FROM sales SORT BY amount DESC LIMIT 5
  }}}
  
+  * A SELECT statement can take regex-based column specification.
+  * We use java regex syntax. Try http://www.fileformat.info/tool/regex.htm for testing purposes.
+  * The following query select all columns except ds and hr.
+ {{{
+ SELECT `(ds|hr)?+.+` FROM sales
+ }}}
+ 

Mime
View raw message