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

[BUG] Flint index name doesn't include catalog name #43

Closed
dai-chen opened this issue Sep 25, 2023 · 0 comments
Closed

[BUG] Flint index name doesn't include catalog name #43

dai-chen opened this issue Sep 25, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dai-chen
Copy link
Collaborator

What is the bug?

Currently Flint index name (OpenSearch index) consists of Flint prefix, db name, index name and suffix. This may have conflict if OpenSearch is used by Spark with different catalog name (default name is spark_catalog but configurable) or multi-catalog enabled in a Spark session.

What is the expected behavior?

We can encode catalog name in Flint index name, such as:

  1. CREATE SKIPPING INDEX myS3.default.alb_logs => flint_myS3_default_alb_logs_skipping_index
  2. CREATE INDEX idx_elb ON myS3.default.alb_logs => flint_myS3_default_alb_logs_idx_elb_index
  3. CREATE MV myS3.default.alb_logs_metrics AS => flint_myS3_default_alb_logs_metrics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant