level 7
hive中,如果查询struct对象类型为空的数据
mongoDB集合table_abc中,有一个struct对象类型的字段struct_obj
我用select * from table_abc where struct_obj is null 查不到数据。
但是select * from table_abc where struct_obj is not null却能查到数据。
2017年07月04日 10点07分
1
level 7
在mongoDB中使用db.table_abc.find({"struct_obj" : null})
查找完全没问题,数据都能查出来。
但是在hive中,select * from table_abc where struct_obj is null 查不到数据
2017年07月05日 00点07分
2