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 2024/11/14 18:22:00 UTC
[jira] [Updated] (HUDI-8520) DROP INDEX should work with index name instead of index partition name
[ https://issues.apache.org/jira/browse/HUDI-8520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sagar Sumit updated HUDI-8520:
------------------------------
Sprint: Hudi 1.0 Blockers+Bugs Sprint
> DROP INDEX should work with index name instead of index partition name
> ----------------------------------------------------------------------
>
> Key: HUDI-8520
> URL: https://issues.apache.org/jira/browse/HUDI-8520
> Project: Apache Hudi
> Issue Type: Task
> Reporter: Sagar Sumit
> Assignee: Sagar Sumit
> Priority: Blocker
> Fix For: 1.0.0
>
>
> {code:java}
> spark-sql (default)> drop index idx_rider on hudi_table;
> 24/11/13 16:14:25 ERROR SparkSQLDriver: Failed in [drop index idx_rider on hudi_table]
> org.apache.hudi.exception.HoodieSecondaryIndexException: Secondary index not exists: idx_rider
> at org.apache.hudi.index.secondary.SecondaryIndexManager.drop(SecondaryIndexManager.java:145)
> at org.apache.spark.sql.hudi.command.DropIndexCommand.run(IndexCommands.scala:83)
> at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult$lzycompute(commands.scala:75)
> {code}
> However, `DROP INDEX secondary_index_id_driver on hudi_table` works.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)