You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Jason Altekruse (JIRA)" <ji...@apache.org> on 2014/04/23 04:45:17 UTC

[jira] [Commented] (DRILL-400) Parquet varbinary data is not cast by default

    [ https://issues.apache.org/jira/browse/DRILL-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13977759#comment-13977759 ] 

Jason Altekruse commented on DRILL-400:
---------------------------------------

https://reviews.apache.org/r/20600/

> Parquet varbinary data is not cast by default
> ---------------------------------------------
>
>                 Key: DRILL-400
>                 URL: https://issues.apache.org/jira/browse/DRILL-400
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Ramana Inukonda Nagaraj
>         Attachments: Drill-400-parquet-utf8-4-22-14.patch
>
>
> Not sure if this is a bug or if we even want to address this.
> When you do a select from a parquet table where strings are stored as varbinary drill displays them as such. The user needs to figure out what the type is cast accordingly. We may need to think of a more user friendly solution. 
> 0: jdbc:drill:schema=dfs> select * from dfs.`region.parquet`;
> +-------------+------------+------------+
> | R_REGIONKEY |   R_NAME   | R_COMMENT  |
> +-------------+------------+------------+
> | 0           | [B@a2a95bb | [B@71cc2d33 |
> | 1           | [B@13aba9a3 | [B@6b0e166b |
> | 2           | [B@69e201b5 | [B@74de4861 |
> | 3           | [B@2d621438 | [B@21d7fcf |
> | 4           | [B@5eb1f01e | [B@740b7223 |
> +-------------+------------+------------+



--
This message was sent by Atlassian JIRA
(v6.2#6252)