空值字段的hive处理

当遇到某个字段的属性值为空时,可使用IF、ISNULL函数进行处理。函数 hive的IF函数:string IF(expr1,expr2,expr3) - If expr1 is TRUE (expr1 <> 0 and expr1 <> NULL) then IF() returns expr2; otherwise it returns expr3. IF() returns a numeri
相关文章
相关标签/搜索