You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Flink Jira Bot (Jira)" <ji...@apache.org> on 2022/01/07 10:41:00 UTC

[jira] [Updated] (FLINK-22827) Hive dialect supports CLUSTERED BY clause of CREATE TABLE DDL

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

Flink Jira Bot updated FLINK-22827:
-----------------------------------
    Labels: auto-deprioritized-major stale-minor  (was: auto-deprioritized-major)

I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help the community manage its development. I see this issues has been marked as Minor but is unassigned and neither itself nor its Sub-Tasks have been updated for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is still Minor, please either assign yourself or give an update. Afterwards, please remove the label or in 7 days the issue will be deprioritized.


> Hive dialect supports CLUSTERED BY clause of CREATE TABLE DDL
> -------------------------------------------------------------
>
>                 Key: FLINK-22827
>                 URL: https://issues.apache.org/jira/browse/FLINK-22827
>             Project: Flink
>          Issue Type: New Feature
>          Components: Connectors / Hive
>    Affects Versions: 1.13.1
>            Reporter: Ma Jun
>            Priority: Minor
>              Labels: auto-deprioritized-major, stale-minor
>
> {code:java}
> # hive syntax:
> CREATE [ EXTERNAL ] TABLE [ IF NOT EXISTS ] table_identifier
>     [ ( col_name1[:] col_type1 [ COMMENT col_comment1 ], ... ) ]
>     [ COMMENT table_comment ]
>     [ PARTITIONED BY ( col_name2[:] col_type2 [ COMMENT col_comment2 ], ... ) 
>         | ( col_name1, col_name2, ... ) ]
>     [ CLUSTERED BY ( col_name1, col_name2, ...) 
>         [ SORTED BY ( col_name1 [ ASC | DESC ], col_name2 [ ASC | DESC ], ... ) ] 
>         INTO num_buckets BUCKETS ]
>     [ ROW FORMAT row_format ]
>     [ STORED AS file_format ]
>     [ LOCATION path ]
>     [ TBLPROPERTIES ( key1=val1, key2=val2, ... ) ]
>     [ AS select_statement ]
> {code}
>  
> {code:java}
> [ CLUSTERED BY ( col_name1, col_name2, ...) [ SORTED BY ( col_name1 [ ASC | DESC ], col_name2 [ ASC | DESC ], ... ) ] 
> {code}
> Will Flink support the way of creating tables and supporting clustered by | sort by into buckets in later versions?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)