You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/05/07 00:56:28 UTC

[jira] [Resolved] (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 ]

Jacques Nadeau resolved DRILL-400.
----------------------------------

    Resolution: Fixed
      Assignee: Jason Altekruse

fixed in f071aca

> 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
>         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.2#6252)