在hive中替换T-SQL isnumeric()

use*_*407 3 hadoop hive mapreduce

什么是isnumeric()hive 0.10中T-SQL 函数的替代品?

http://technet.microsoft.com/en-us/library/ms186272.aspx
Run Code Online (Sandbox Code Playgroud)

dim*_*mah 10

在HIVE中没有直接的等效物,但您可以使用该cast功能.
将任何非"数字"的内容转换为doublenull将返回null,您可以像这样使用它:
select x from table where cast(field as double) is not null