Ramana Inukonda Nagaraj created DRILL-400:
---------------------------------------------

             Summary: 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
            Priority: Minor


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)

Reply via email to