Babulal created CARBONDATA-1225:
-----------------------------------
Summary: Create Table Failed for partition table having date and timestamp when format is not specified
Key: CARBONDATA-1225
URL:
https://issues.apache.org/jira/browse/CARBONDATA-1225 Project: CarbonData
Issue Type: Bug
Components: sql
Reporter: Babulal
Create Table Failed for partition table having date or timestamp when format is not specified in carbon.properties ( as it is not mandatory , should use default )
create table if not exists test_par2 (id int,first_name String,last_name string,email string,gender string PARTITIONED BY (dob date) stored by 'carbondata' TBLPROPERTIES('PARTITION_TYPE'='RANGE','RANGE_INFO'='01-01-2016, 01-01-2016, 01-01-2016')
Exception in thread "main" java.lang.RuntimeException:
BaseSqlParser>>>> null
CarbonSqlParser>>>> [1.1] failure: identifier matching regex (?i)DELETE expected
Root Cause :- in parser we tried to parse using .getProperty(CarbonCommonConstants.CARBON_DATE_FORMAT) since value will be null , it throws null and same is getting printed in driver side.
Same issue with time stamp data type column also .
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)