drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Altekruse (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-400) Parquet varbinary data is not cast by default
Date Fri, 02 May 2014 21:38:24 GMT

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

Jason Altekruse updated DRILL-400:
----------------------------------

    Attachment: 0001-Drill-400-change-parquet-reader-to-place-varbinary-f.patch

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

Mime
View raw message