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

Describe on table/view gives IllegalArgumentException error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 0.8.0
    • Metadata
    • None

    Description

      git.commit.id.abbrev=e5c2da0

      create view student_v as select CAST(student_id AS INTEGER) AS student_id, convert_from(name, 'UTF8') AS name, CAST(age AS INTEGER) AS age, CAST(gpa AS DECIMAL(4, 2)) AS gpa, CAST(studentnum AS BIGINT) AS student_num, CAST(create_time AS TIMESTAMP) AS create_time from student;

      0: jdbc:drill:schema=dfs1> describe student_v;
      message: "Failure while running fragment. < IllegalArgumentException:[ Error: ',', ':', or ';' expected at position 7 from 'decimal(7,2)' [0:decimal, 7:(, 8:7, 9:,, 10:2, 11:)] ]"

      Attachments

        Issue Links

          Activity

            People

              jaltekruse Jason Altekruse
              knguyen Krystal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: