Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.2.0
-
None
-
None
Description
Hi
We have queries in Hive 1.x version that had CTAS with ability to create column with value as null. But when we upgraded to Hive 2.2 the same queries are not executing and throws issue as
FAILED: SemanticException [Error 10305]: CREATE-TABLE-AS-SELECT creates a VOID type, please use CAST to specify the type, near field: Test1
We saw that the Jira fix 11217 was only to fix the semantic error exception . IS there any patch from Hive to fix this issue by type casting automatically for these type of issues or do we need to typecast the null column manually post upgrade for all the affected queries ?
Thanks