You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shaofeng SHI (JIRA)" <ji...@apache.org> on 2016/10/10 05:41:20 UTC

[jira] [Updated] (KYLIN-2055) Add an encoder for Boolean type

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

Shaofeng SHI updated KYLIN-2055:
--------------------------------
    Description: 
In many cases there are dimensions whose values are booleans, e.g: true, false, yes, no, 1, 0, T, F, etc; Need an encoder for this type, which will be better than dictionary encoder.

Allowed values:
"", "true", "false", "TRUE", "FALSE", "True", "False", "t", "f", "T", "F", "yes", "no", "YES", "NO", "Yes", "No", "y", "n", "Y", "N", "1", "0"

If a cell value isn't in this list, will throw exception.

  was:In many cases there are dimensions whose values are booleans, e.g: true, false, yes, no, 1, 0, T, F, etc; Need an encoder for this type, which will be better than dictionary encoder.


> Add an encoder for Boolean type
> -------------------------------
>
>                 Key: KYLIN-2055
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2055
>             Project: Kylin
>          Issue Type: New Feature
>          Components: General
>            Reporter: Shaofeng SHI
>
> In many cases there are dimensions whose values are booleans, e.g: true, false, yes, no, 1, 0, T, F, etc; Need an encoder for this type, which will be better than dictionary encoder.
> Allowed values:
> "", "true", "false", "TRUE", "FALSE", "True", "False", "t", "f", "T", "F", "yes", "no", "YES", "NO", "Yes", "No", "y", "n", "Y", "N", "1", "0"
> If a cell value isn't in this list, will throw exception.



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