You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2015/06/25 03:06:04 UTC

[jira] [Updated] (DRILL-2621) When view is created on top of parquet file, underlying data types should be automatically converted to SQL type

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

Parth Chandra updated DRILL-2621:
---------------------------------
    Fix Version/s:     (was: 1.1.0)
                   1.2.0

> When view is created on top of parquet file, underlying data types should be automatically converted to SQL type
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-2621
>                 URL: https://issues.apache.org/jira/browse/DRILL-2621
>             Project: Apache Drill
>          Issue Type: New Feature
>          Components: Storage - Information Schema
>            Reporter: Victoria Markman
>             Fix For: 1.2.0
>
>
> Since parquet types are known to us, we need to make sure to expose these types without making user explicitly cast each column.
> "create view v1 as select c_integer from j1; " produces view with column of ANY data type.
> {code}
> 0: jdbc:drill:schema=dfs> describe v1;
> +-------------+------------+-------------+
> | COLUMN_NAME | DATA_TYPE  | IS_NULLABLE |
> +-------------+------------+-------------+
> | c_integer   | ANY        | YES         |
> +-------------+------------+-------------+
> 1 row selected (0.091 seconds)
> {code}
> I think we need to extend "CREATE VIEW" document for GA explaining this fact. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)