Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5110

Query containing datatype conversions fails with vague error if column contains only null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.0
    • None
    • Functions - Drill
    • None

    Description

      Issuing a query like SELECT CONVERT_FROM(CONVERT_TO(columnName, 'json'), 'utf8') FROM fails if columnName is not present in the current dataset being queried, or contains only nulls.

      Error received: org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: UnsupportedOperationException: Unable to get holder type for minor type [LATE] and mode [OPTIONAL] Fragment 0:0

      Attachments

        Activity

          People

            Unassigned Unassigned
            djurcau Daniel Jurcau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: