Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HUDI-3881] Implement index syntax for spark sql #5339

Closed
wants to merge 1 commit into from

Conversation

XuQianJin-Stars
Copy link
Contributor

@XuQianJin-Stars XuQianJin-Stars commented Apr 17, 2022

Tips

What is the purpose of the pull request

(For example: This pull request adds quick-start document.)

Brief change log

link: HUDI-3881

  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')] 
  1. Refresh Index
REFRESH INDEX index_name ON [TABLE] [db_name.]table_name
  1. Drop Index
DROP INDEX [IF EXISTS] index_name ON [TABLE] [db_name.]table_name
  1. Show index
SHOW INDEX [index_name] ON [TABLE] [db_name.]table_name

Verify this pull request

(Please pick either of the following options)

This pull request is a trivial rework / code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end.
  • Added HoodieClientWriteTest to verify the change.
  • Manually verified the change by running a job locally.

Committer checklist

  • Has a corresponding JIRA in PR title & commit

  • Commit message is descriptive of the change

  • CI is green

  • Necessary doc changes done or have another open PR

  • For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@hudi-bot
Copy link

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
index priority:major degraded perf; unable to move forward; potential bugs spark-sql
Projects
Status: 🚧 Needs Repro
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants