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](test) fix json test cases by using def keyword to define local variable #21206

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

xiaokang
Copy link
Contributor

Proposed changes

Issue Number: close #xxx

using def success = true instead of success = true to avoid global variable conflict.

regression-test/suites/json_p0/test_json_load_and_function.groovy
regression-test/suites/json_p0/test_json_load_unique_key_and_function.groovy
regression-test/suites/jsonb_p0/test_jsonb_load_and_function.groovy
regression-test/suites/jsonb_p0/test_jsonb_load_unique_key_and_function.groovy

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@shuke987
Copy link
Collaborator

LGTM

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@xiaokang
Copy link
Contributor Author

run buildall

@xiaokang xiaokang force-pushed the fix_json_testcase branch from bbb37c1 to 9160e6e Compare July 3, 2023 09:07
@BiteTheDDDDt
Copy link
Contributor

run buildall

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jul 3, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 3, 2023

PR approved by at least one committer and no changes requested.

@BiteTheDDDDt BiteTheDDDDt merged commit 9477436 into apache:master Jul 4, 2023
Copy link
Contributor

@yiguolei yiguolei left a comment

Choose a reason for hiding this comment

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

LGTM

@xiaokang xiaokang added dev/2.0.0 2.0.0 release dev/2.0.0-merged and removed dev/2.0.0 2.0.0 release labels Jul 4, 2023
xiaokang added a commit that referenced this pull request Jul 4, 2023
add def keyword to define local variable success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by one committer. dev/2.0.0-merged kind/test reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants