You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2015/01/04 22:26:37 UTC

[jira] [Updated] (DRILL-1294) Columns of views created from files are of data type 'ANY'

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

Jacques Nadeau updated DRILL-1294:
----------------------------------
    Issue Type: Improvement  (was: Bug)

> Columns of views created from files are of data type 'ANY'
> ----------------------------------------------------------
>
>                 Key: DRILL-1294
>                 URL: https://issues.apache.org/jira/browse/DRILL-1294
>             Project: Apache Drill
>          Issue Type: Improvement
>            Reporter: Norris Lee
>             Fix For: Future
>
>
> When you execute a select * query against a view created from a file (eg. from JSON or CSV), the data type of the columns returned reflect the nature of the data in the column (varchar, bigint, etc).
> But in INFORMATION_SCHEMA.COLUMNS, the data type is listed as 'ANY'.
> Note that if it was casted during the create view statement, then INFORMATION_SCHEMA.COLUMNS will display it correctly as whatever it was casted to.



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