赞
踩
类型转换函数
hive> select binary('charels') from iteblog;
OK
charels
hive> select cast('1' as DOUBLE) from iteblog;
OK
1.0
逻辑运算
hive> select 1 from iteblog where 1=1 and 2=2;
1
hive> select 1 from iteblog where 1=2 or 2=2;
1
hive> select 1 from iteblog where not 1=2;
1
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。