You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Sagar Sumit (Jira)" <ji...@apache.org> on 2023/03/29 10:46:00 UTC
[jira] [Closed] (HUDI-3881) Implement index syntax for spark sql
[ https://issues.apache.org/jira/browse/HUDI-3881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sagar Sumit closed HUDI-3881.
-----------------------------
Resolution: Fixed
> Implement index syntax for spark sql
> ------------------------------------
>
> Key: HUDI-3881
> URL: https://issues.apache.org/jira/browse/HUDI-3881
> Project: Apache Hudi
> Issue Type: New Feature
> Components: spark-sql
> Reporter: Forward Xu
> Assignee: Forward Xu
> Priority: Critical
> Labels: pull-request-available
>
> {code:java}
> 1. Create Index
> CREATE INDEX [IF NOT EXISTS] index_name
> ON [TABLE] [db_name.]table_name (column_name [ASC|DESC], ...)
> USING [bloom/lucene]
> [PROPERTIES ('key'='value')]
> 2. Refresh Index
> REFRESH INDEX index_name ON [TABLE] [db_name.]table_name
> 3. Drop Index
> DROP INDEX [IF EXISTS] index_name ON [TABLE] [db_name.]table_name
> 4. Show index
> SHOW INDEX [index_name] ON [TABLE] [db_name.]table_name{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)