drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Westin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-2660) CAST to MULTISET yields internal "use createMultisetType() instead" error
Date Wed, 01 Apr 2015 22:03:53 GMT

     [ https://issues.apache.org/jira/browse/DRILL-2660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Westin updated DRILL-2660:
--------------------------------
    Fix Version/s: 1.0.0

> 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
>    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)

Mime
View raw message