Hive converts Null to empty String in String Column. What is reason for that ?
As per our requirement, we need to see Null in string column instead of empty String otherwise Is Null not working for those columns. So to solve this problem we set below property on Table:
TBLPROPERTIES('serialization.null.format'='')
But Still we see empty string instead of NULL
and even SHOW TBLPROPERTIES
also not showing this property in result, so i am not sure if this property is set or not.
I tried to set this property in DDL itself and even i tried
Alter Table <TableName> Set TBLPROPERTIES ('serialization.null.format' = '');