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

Fix build index with special full table name #336

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

seankao-az
Copy link
Collaborator

Description

Fix build index with special full table name, including special characters in catalog name and database name.
Also fix test suite for it.

Note: removed a test case that was added unintentionally

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@seankao-az seankao-az added the bug Something isn't working label May 10, 2024
index.build(spark, None)
}
// Getting this error means that parsing doesn't fail with unquoted identifier
assert(error.getMessage().contains("UnresolvedRelation"))
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead, try to specifically check it does NOT fail with unquoted identifier

@@ -31,22 +32,15 @@ class FlintSparkCoveringIndexSuite extends FlintSuite {
}
}

test("can build index building job with unique ID column") {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this test case is added unintentionally in previous pr

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

Successfully merging this pull request may close these issues.

1 participant