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

PrimitiveType.VARCHAR is missing in a switch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • Impala 2.1.1
    • Impala 2.2
    • 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)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: