Krystal created DRILL-1168:
------------------------------
Summary: Describe on table/view gives IllegalArgumentException
error
Key: DRILL-1168
URL: https://issues.apache.org/jira/browse/DRILL-1168
Project: Apache Drill
Issue Type: Bug
Components: Metadata
Reporter: Krystal
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:)] ]"
--
This message was sent by Atlassian JIRA
(v6.2#6252)