Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
ghx-label-6
Description
When a view is created in Impala, the InputFormat and OutputFormat fields are set to NULL. This is breaking some aspects of Hive. See: HIVE-19424. Perhaps Impala can play nice here and set these fields the same as Hive.
-- hive CREATE VIEW test_view_hive AS select * from sample_07; -- impala CREATE VIEW test_view_impala AS select * from sample_07;
-- Impala DESCRIBE extended test_view_impala; InputFormat - (blank) OutputFormat - (blank) DESCRIBE extended test_view_hive; InputFormat - org.apache.hadoop.mapred.TextInputFormat OutputFormat - org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat
You can see the difference in the Hive Metastore.
MariaDB [hive1]> SELECT TBLS.TBL_NAME FROM TBLS JOIN SDS ON TBLS.SD_ID=SDS.SD_ID WHERE SDS.INPUT_FORMAT IS NULL; +------------------+ | TBL_NAME | +------------------+ | test_view_impala | +------------------+
Attachments
Issue Links
- relates to
-
HIVE-19424 NPE In MetaDataFormatters
- Closed