drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From F Méthot (JIRA) <j...@apache.org>
Subject [jira] [Updated] (DRILL-4919) select count(1) on csv with header no longer works
Date Fri, 30 Sep 2016 13:00:23 GMT

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

F Méthot updated DRILL-4919:
----------------------------
    Description: 
This is new in  1.8

Dataset (I used extended char for display purpose) test.csvh:

a,b,c,d\n
1,2,3,4\n
5,6,7,8\n

Storage config:
"csvh": {
  "type": "text",
  "extensions" : [
      "csvh"
   ],
   "extractHeader": true,
   "delimiter": ","
  }

select count(1) from dfs.`test.csvh`

Error: UNSUPPORTED_OPERATION ERROR: With extractHeader enabled, only header names are supported
coumn name columns
column index
Fragment 0:0




  was:
Dataset (I used extended char for display purpose) test.csvh:

a,b,c,d\n
1,2,3,4\n
5,6,7,8\n

Storage config:
"csvh": {
  "type": "text",
  "extensions" : [
      "csvh"
   ],
   "extractHeader": true,
   "delimiter": ","
  }

select count(1) from dfs.`test.csvh`

Error: UNSUPPORTED_OPERATION ERROR: With extractHeader enabled, only header names are supported
coumn name columns
column index
Fragment 0:0





> select count(1) on csv with header no longer works
> --------------------------------------------------
>
>                 Key: DRILL-4919
>                 URL: https://issues.apache.org/jira/browse/DRILL-4919
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>    Affects Versions: 1.8.0
>            Reporter: F Méthot
>            Priority: Minor
>
> This is new in  1.8
> Dataset (I used extended char for display purpose) test.csvh:
> a,b,c,d\n
> 1,2,3,4\n
> 5,6,7,8\n
> Storage config:
> "csvh": {
>   "type": "text",
>   "extensions" : [
>       "csvh"
>    ],
>    "extractHeader": true,
>    "delimiter": ","
>   }
> select count(1) from dfs.`test.csvh`
> Error: UNSUPPORTED_OPERATION ERROR: With extractHeader enabled, only header names are
supported
> coumn name columns
> column index
> Fragment 0:0



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

Mime
View raw message