J2EE Spot
Technology related thoughts, experience with different, mainly software, products.
Wednesday, June 20, 2012
NOT LIKE Function in Hadoop Hive
In SQL usually the query is the following:
select * from table_name where column_name not like '%something%';
In Hive this doesn't work. Instead do the following:
select * from table_name where
not (column_name like '%something%')
;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment