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 2018/05/04 08:08:00 UTC

[jira] [Commented] (KYLIN-3186) Add support for partitioning columns that combine date and time (e.g. YYYYMMDDHHMISS)

    [ https://issues.apache.org/jira/browse/KYLIN-3186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16463530#comment-16463530 ] 

Shaofeng SHI commented on KYLIN-3186:
-------------------------------------

+1; Vsevolod, would you like to contribute a patch? 

> Add support for partitioning columns that combine date and time (e.g. YYYYMMDDHHMISS)
> -------------------------------------------------------------------------------------
>
>                 Key: KYLIN-3186
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3186
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Others
>    Affects Versions: v2.2.0
>            Reporter: Vsevolod Ostapenko
>            Priority: Major
>
> In a multitude of existing enterprise applications partitioning is done on a single column that fuse date and time into a single value (string, integer or big integer). Typical formats are YYYYMMDDHHMM or  YYYYMMDDHHMMSS (e.g. 201801181621 and 20180118154734).
> Such representation is human readable and provides natural sorting of the date/time values.
> Lack of support for such date/time representation requires some ugly workarounds, like creating views that split date and time into separate columns or data copying into tables with different partitioning scheme, none of which is a particularly good solution.
> More over, using views approach on Hive causes severe performance issues, due to inability of Hive optimizer correctly analyze filtering conditions auto-generated by Kylin during the flat table build step.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)