[ https://issues.apache.org/jira/browse/DRILL-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Volodymyr Vysotskyi updated DRILL-7159: --------------------------------------- Labels: ready-to-commit (was: ) > After renaming MAP to STRUCT typeString method still outputs MAP name > --------------------------------------------------------------------- > > Key: DRILL-7159 > URL: https://issues.apache.org/jira/browse/DRILL-7159 > Project: Apache Drill > Issue Type: Sub-task > Reporter: Arina Ielchiieva > Assignee: Arina Ielchiieva > Priority: Major > Labels: ready-to-commit > Fix For: 1.16.0 > > > After renaming MAP to STRUCT typeString method still outputs MAP name. > Reproduce: > {noformat} > apache drill> CREATE or replace SCHEMA > . .semicolon> ( > . . . . . .)> varchar_column VARCHAR(10) NOT NULL, > . . . . . .)> struct_column STRUCT<s1 INT NOT NULL, s2 array<INT>> > . . . . . .)> ) > . .semicolon> FOR TABLE dfs.tmp.`text_table`; > {noformat} > Error: > {noformat} > apache drill> describe schema for table dfs.tmp.`text_table`; > Error: RESOURCE ERROR: Cannot construct instance of > `org.apache.drill.exec.record.metadata.AbstractColumnMetadata`, problem: Line > [1], position [16], offending symbol [@1,16:18='MAP',<26>,1:16]: no viable > alternative at input '`struct_column`MAP' > at [Source: > (org.apache.hadoop.fs.ChecksumFileSystem$FSDataBoundedInputStream); line: 14, > column: 7] (through reference chain: > org.apache.drill.exec.record.metadata.schema.SchemaContainer["schema"]->org.apache.drill.exec.record.metadata.TupleSchema["columns"]->java.util.ArrayList[1]) > Error while accessing table location for [dfs.tmp.text_table] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)