carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CARBONDATA-37) Support Date/Time format for Timestamp columns to be defined at column level
Date Wed, 26 Oct 2016 02:45:59 GMT


ASF GitHub Bot commented on CARBONDATA-37:

Github user QiangCai commented on a diff in the pull request:
    --- Diff: core/src/main/java/org/apache/carbondata/core/keygenerator/directdictionary/
    @@ -39,14 +40,26 @@ private DirectDictionaryKeyGeneratorFactory() {
        * @param dataType DataType
        * @return the generator instance
    -  public static DirectDictionaryGenerator getDirectDictionaryGenerator(DataType dataType)
    +  public static DirectDictionaryGenerator getDirectDictionaryGenerator(DataType dataType,
    +                                                                       String dateFormat)
    --- End diff --
    please keep java code style

> Support Date/Time format for Timestamp columns to be defined at column level
> ----------------------------------------------------------------------------
>                 Key: CARBONDATA-37
>                 URL:
>             Project: CarbonData
>          Issue Type: Improvement
>            Reporter: Vimal Das Kammath
>            Assignee: Lionx
> Carbon support defining the Date/Time format. But the configuration for the same is present
in and hence is global for all tables.
> This global configuration for timestamp format cannot support scenarios where different
tables or different Timestamp columns in the same table.
> Suggest to provide option in the create table DDL itself to define the format for each
Timestamp column. Also provide defaults so that users can create table with Timestamp columns
without having to always define the Date/Time format.

This message was sent by Atlassian JIRA

View raw message