You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "SHREELEKHYA GAMPA (Jira)" <ji...@apache.org> on 2021/08/24 05:26:00 UTC

[jira] [Created] (CARBONDATA-4274) Create partition table error with spark 3.1

SHREELEKHYA GAMPA created CARBONDATA-4274:
---------------------------------------------

             Summary:  Create partition table error with spark 3.1
                 Key: CARBONDATA-4274
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-4274
             Project: CarbonData
          Issue Type: Bug
            Reporter: SHREELEKHYA GAMPA


With spark 3.1, we can create a partition table by giving partition columns from schema.
Like below example:
{{create table partitionTable(c1 int, c2 int, v1 string, v2 string) stored as carbondata partitioned by (v2,c2)}}

When the table is created by SparkSession with CarbonExtension, catalog table is created with the specified partitions.
But in cluster/ with carbon session, when we create partition table with above syntax it is creating normal table with no partitions.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)