[ https://issues.apache.org/jira/browse/DRILL-2660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Nadeau updated DRILL-2660: ---------------------------------- Component/s: SQL Parser > CAST to MULTISET yields internal "use createMultisetType() instead" error > ------------------------------------------------------------------------- > > Key: DRILL-2660 > URL: https://issues.apache.org/jira/browse/DRILL-2660 > Project: Apache Drill > Issue Type: Bug > Components: SQL Parser > Affects Versions: 0.8.0 > Reporter: Daniel Barclay (Drill) > Fix For: 1.0.0 > > Attachments: Temp1.csv, Temp2.csv > > > I don't know if data type name "MULTISET" is intended to be supported or not, > but trying to use it in a CAST specification yields an internal error message > "use createMultisetType() instead": > 0: jdbc:drill:zk=local> CREATE OR REPLACE VIEW TempView AS SELECT > CAST(columns AS MULTISET), columns FROM `dfs.tmp`.`dsbtemp/TempCsv`; > Query failed: AssertionError: use createMultisetType() instead > Error: exception while executing query: Failure while executing query. > (state=,code=0) > 0: jdbc:drill:zk=local> > The directory corresponding to `dfs.tmp`.`dsbtemp/TempCsv` contained the two > attached CSV files. -- This message was sent by Atlassian JIRA (v6.3.4#6332)