drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Challapalli (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DRILL-900) Casting VarBinary to Varchar truncates all values to a single character
Date Wed, 29 Apr 2015 20:39:07 GMT

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

Rahul Challapalli closed DRILL-900.
-----------------------------------

Not a bug

> Casting VarBinary to Varchar truncates all values to a single character
> -----------------------------------------------------------------------
>
>                 Key: DRILL-900
>                 URL: https://issues.apache.org/jira/browse/DRILL-900
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Jason Altekruse
>            Priority: Critical
>             Fix For: 0.4.0
>
>
> Running this query should return a list of strings, but they all are instead the first
character of the respective values at each position.
> select cast(L_COMMENT as varchar) from cp.`tpch/lineitem.parquet`
> Tried to do a little digging and it appears the data is corrupt as well as the offset
vector. Couldn't find a root cause though



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message