You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Ramana Inukonda Nagaraj (JIRA)" <ji...@apache.org> on 2015/04/17 02:07:08 UTC

[jira] [Closed] (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:all-tabpanel ]

Ramana Inukonda Nagaraj closed DRILL-400.
-----------------------------------------

> 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
>            Assignee: Jason Altekruse
>             Fix For: 0.4.0
>
>         Attachments: 0001-Drill-400-change-parquet-reader-to-place-varbinary-f.patch, 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.3.4#6332)