You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "shibei (Jira)" <ji...@apache.org> on 2022/05/27 10:00:00 UTC

[jira] [Updated] (HUDI-4165) Support Create/Show/Drop Index for Spark SQL

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

shibei updated HUDI-4165:
-------------------------
    Status: In Progress  (was: Open)

> Support Create/Show/Drop Index for Spark SQL
> --------------------------------------------
>
>                 Key: HUDI-4165
>                 URL: https://issues.apache.org/jira/browse/HUDI-4165
>             Project: Apache Hudi
>          Issue Type: New Feature
>            Reporter: shibei
>            Assignee: shibei
>            Priority: Major
>
> Support Create/Show/Drop Index for Spark SQL, SQL Syntax:
> {code:java}
> -- Create index on specific column
> CREATE INDEX indexName ON table (col) AS indexType
> -- Show indexes from specific table
> SHOW INDEXES (FROM | IN) table
> -- Drop specific index
> DROP INDEX indexName ON table {code}
> Reference:
> - hive sql index syntax:[https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-Create/Drop/AlterIndex]
>  
> - MySQL index syntax:
> [https://dev.mysql.com/doc/refman/8.0/en/create-index.html]
> [https://dev.mysql.com/doc/refman/8.0/en/show-index.html]
> [https://dev.mysql.com/doc/refman/8.0/en/drop-index.html]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)