Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
Impala 2.1.1
-
None
-
None
Description
See potential fix at https://github.com/cloudera/Impala/pull/73
Steps to reproduce: use the catalog operation GET_COLUMNS on a table that has a column of type VARCHAR.
Detailed error:
java.lang.IllegalArgumentException: Invalid primitive type VARCHAR
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
at com.cloudera.impala.catalog.Type.getJavaSqlType(Type.java:489)
at com.cloudera.impala.service.MetadataOp.getColumns(MetadataOp.java:359)
at com.cloudera.impala.service.Frontend.execHiveServer2MetadataOp(Frontend.java:1015)
at com.cloudera.impala.service.JniFrontend.execHiveServer2MetadataOp(JniFrontend.java:436)