You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kanwaljit Singh (JIRA)" <ji...@apache.org> on 2015/05/19 13:45:59 UTC

[jira] [Updated] (SPARK-7728) SQL: cannot add timestamp partition as string

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

Kanwaljit Singh updated SPARK-7728:
-----------------------------------
    Description: 
create table spark_test(i int) partitioned by (p timestamp);
alter table spark_test add partition(p="2013-01-01 01:00");
alter table spark_test add partition(p=CAST("2013-01-01 01:00" AS TIMESTAMP));

Will not work

> SQL: cannot add timestamp partition as string
> ---------------------------------------------
>
>                 Key: SPARK-7728
>                 URL: https://issues.apache.org/jira/browse/SPARK-7728
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.2.1
>            Reporter: Kanwaljit Singh
>
> create table spark_test(i int) partitioned by (p timestamp);
> alter table spark_test add partition(p="2013-01-01 01:00");
> alter table spark_test add partition(p=CAST("2013-01-01 01:00" AS TIMESTAMP));
> Will not work



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org