You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Gift Sinthong (Jira)" <ji...@apache.org> on 2021/05/12 21:09:00 UTC

[jira] [Updated] (ASTERIXDB-2901) Infer type from CSV header

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

Gift Sinthong updated ASTERIXDB-2901:
-------------------------------------
    Description: 
Creating external datasets from CSV files should be able to infer the attribute names from the file header if present and sample records for the data type. For example, in the create statement there could be a header flag like the below statement.

CREATE EXTERNAL DATASET Employee() USING localfs (("path"="localhost:///employees.csv"), ("format"="delimited-text"), ("delimiter"=","), ("header"=true), ("infer"=10))

  was:
Creating external datasets from CSV files should be able to infer the attribute names from the file header if present and sample records for the data type. For example, in the create statement there could be a header flag like the below statement.

CREATE EXTERNAL DATASET Employee() USING localfs (("path"="localhost:///employees.csv"), ("format"="delimited-text"), ("delimiter"=","), ("header"="true"))


> Infer type from CSV header
> --------------------------
>
>                 Key: ASTERIXDB-2901
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2901
>             Project: Apache AsterixDB
>          Issue Type: New Feature
>            Reporter: Gift Sinthong
>            Priority: Trivial
>
> Creating external datasets from CSV files should be able to infer the attribute names from the file header if present and sample records for the data type. For example, in the create statement there could be a header flag like the below statement.
> CREATE EXTERNAL DATASET Employee() USING localfs (("path"="localhost:///employees.csv"), ("format"="delimited-text"), ("delimiter"=","), ("header"=true), ("infer"=10))



--
This message was sent by Atlassian Jira
(v8.3.4#803005)