Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1796

PrimitiveType.VARCHAR is missing in a switch

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: Impala 2.1.1
    • Fix Version/s: Impala 2.2
    • Component/s: None
    • Labels:
      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)

        Attachments

          Activity

            People

            • Assignee:
              alex.behm Alexander Behm
              Reporter:
              jrouquie_impala_4855 Jean-Baptiste Rouquier
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: