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

add flag to protect json predicate conversion. #272

Merged
merged 3 commits into from
Feb 16, 2023
Merged

Conversation

chakankardb
Copy link
Collaborator

This PR adds a flag to protect json predicate conversion.

Copy link
Member

@zsxwing zsxwing left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -66,6 +66,7 @@ class RemoteDeltaLogSuite extends SparkFunSuite with SharedSparkSession {

test("RemoteSnapshot getFiles with limit and jsonPredicateHints") {
val spark = SparkSession.active
spark.sessionState.conf.setConfString("spark.delta.sharing.jsonPredicateHints.enabled", "true")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shall we add a test when we set this to false.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Saw this a bit late... good idea: sent another [ PR ] (#273)

@chakankardb chakankardb merged commit 2ea7dde into main Feb 16, 2023
@linzhou-db linzhou-db deleted the SC-121693-2 branch February 16, 2023 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants