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

WangSheng commented on IMPALA-9688:
-----------------------------------

Hi [~stakiar], thanks for your question. I have already add a new syntax 
"partition by spec" to create iceberg table with partitions in my patch, so the 
above create sql can execute successful in my test environment. I design this 
mainly because iceberg partition is very different from hdfs table, and this is 
also refer to the design of kudu table create(partition by hash/range)
{code:java}
create table iceberg_test(
    level string,
    event_time string,
    message string)
partition by spec(
    level identity,
    event_time identity
)
stored as iceberg;

create table hdfs_test(
    level string,
    event_time string,
    message string)
partitioned by (
    dt string
)
stored as parquet;
{code}


> Support create iceberg table by impala
> --------------------------------------
>
>                 Key: IMPALA-9688
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9688
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: WangSheng
>            Assignee: WangSheng
>            Priority: Major
>
> This sub-task mainly realizes the creation of iceberg table through impala



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to