You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jiarong Wei (JIRA)" <ji...@apache.org> on 2016/10/09 11:16:20 UTC

[jira] [Updated] (CALCITE-1424) Invalid column type in DruidConnectionImpl

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

Jiarong Wei updated CALCITE-1424:
---------------------------------
    Description: 
Currently the supported column types in Druid adapter are: {{LONG}}, {{DOUBLE}}, {{STRING}} and {{hyperUnique}}

There's no clue to show Druid has {{DOUBLE}} as its column type. But instead it should be {{FLOAT}} as mentioned in [Druid Documentation|http://druid.io/docs/latest/querying/segmentmetadataquery.html]:

bq. Dimension columns will have type STRING. Metric columns will have type FLOAT or LONG or name of the underlying complex type such as hyperUnique in case of COMPLEX metric. Timestamp column will have type LONG.

Also Fangjin Yang didn't mentioned that type in related posts: [1|https://groups.google.com/forum/#!msg/druid-development/U_24K3FLveM/kE-T1NluqHsJ] and [2|https://groups.google.com/forum/#!msg/druid-development/cVTJrrxq7kI/MhM3FF3g0x8J]

  was:
Currently the supported column types in Druid adapter are: {{LONG}}, {{DOUBLE}}, {{STRING}} and {{hyperUnique}}

There's no clue to show Druid has {{DOUBLE}} as its column type. But instead it should be {{FLOAT}} as mentioned in [Druid Documentation|http://druid.io/docs/latest/querying/segmentmetadataquery.html]:

bq. Dimension columns will have type STRING. Metric columns will have type FLOAT or LONG or name of the underlying complex type such as hyperUnique in case of COMPLEX metric. Timestamp column will have type LONG.



> Invalid column type in DruidConnectionImpl
> ------------------------------------------
>
>                 Key: CALCITE-1424
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1424
>             Project: Calcite
>          Issue Type: Bug
>          Components: druid
>            Reporter: Jiarong Wei
>            Assignee: Julian Hyde
>
> Currently the supported column types in Druid adapter are: {{LONG}}, {{DOUBLE}}, {{STRING}} and {{hyperUnique}}
> There's no clue to show Druid has {{DOUBLE}} as its column type. But instead it should be {{FLOAT}} as mentioned in [Druid Documentation|http://druid.io/docs/latest/querying/segmentmetadataquery.html]:
> bq. Dimension columns will have type STRING. Metric columns will have type FLOAT or LONG or name of the underlying complex type such as hyperUnique in case of COMPLEX metric. Timestamp column will have type LONG.
> Also Fangjin Yang didn't mentioned that type in related posts: [1|https://groups.google.com/forum/#!msg/druid-development/U_24K3FLveM/kE-T1NluqHsJ] and [2|https://groups.google.com/forum/#!msg/druid-development/cVTJrrxq7kI/MhM3FF3g0x8J]



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