mirror of
https://github.com/apache/impala.git
synced 2026-01-05 21:00:54 -05:00
IMPALA-3812: Fix error message for unsupported types
Before this patch an unclear error message was returned if DATE or DATETIME appeared in the select list after a star expansion. This was because DATE and DATETIME PrimitiveType was serialized as INVALID_TYPE. This is fixed by serializing correctly. Change-Id: I9019b4bfd219f94e554c795befd3ff5e39706ea9 Reviewed-on: http://gerrit.cloudera.org:8080/4859 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Internal Jenkins
This commit is contained in:
committed by
Internal Jenkins
parent
0ab3d7691e
commit
eb8120d218
@@ -1434,6 +1434,7 @@ unsupported_types
|
||||
CREATE EXTERNAL TABLE IF NOT EXISTS {db_name}{db_suffix}.{table_name} (
|
||||
int_col INT,
|
||||
dec_col DECIMAL,
|
||||
date_col DATE,
|
||||
str_col STRING,
|
||||
bin_col BINARY,
|
||||
bigint_col BIGINT)
|
||||
|
||||
Reference in New Issue
Block a user