Skip to content

[fix-#15176] [sql] If the value of the variable contains $ or / symbols, an error may be reported. #15177

Closed
fuchanghai wants to merge 11 commits intoapache:devfrom
fuchanghai:fix-#15176
Closed

[fix-#15176] [sql] If the value of the variable contains $ or / symbols, an error may be reported. #15177
fuchanghai wants to merge 11 commits intoapache:devfrom
fuchanghai:fix-#15176

Conversation

@fuchanghai
Copy link
Member

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.

@fuchanghai fuchanghai changed the title [fix-#15176] If the value of the variable contains $ or / symbols, an error may be reported. [fix-#15176] [sql] If the value of the variable contains $ or / symbols, an error may be reported. Nov 16, 2023
@mergeable mergeable bot removed the backend label Nov 16, 2023
@qingwli qingwli added the bug Something isn't working label Nov 17, 2023
@qingwli qingwli added this to the 3.2.1 milestone Nov 17, 2023
@fuchanghai
Copy link
Member Author

but when i run mvn spotless:apply I don't see any changes to the file cc @qingwli @EricGao888
image

image

@qingwli
Copy link
Member

qingwli commented Nov 17, 2023

image

I have tested and works well.

Did you run this command in the ds root folder?

looks like you in UI folder

image

@fuchanghai
Copy link
Member Author

fuchanghai commented Nov 23, 2023

image

I have tested and works well.

Did you run this command in the ds root folder?

looks like you in UI folder

image

thanks for you review,plz help me to run CI

@codecov-commenter
Copy link

codecov-commenter commented Nov 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (308e4fb) 38.01% compared to head (36a853a) 38.04%.

❗ Current head 36a853a differs from pull request most recent head 3844662. Consider uploading reports for the commit 3844662 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #15177      +/-   ##
============================================
+ Coverage     38.01%   38.04%   +0.02%     
- Complexity     4692     4694       +2     
============================================
  Files          1304     1304              
  Lines         44814    44818       +4     
  Branches       4804     4804              
============================================
+ Hits          17038    17051      +13     
+ Misses        25924    25915       -9     
  Partials       1852     1852              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fuchanghai
Copy link
Member Author

@qingwli @ruanwenjun PTAL

@qingwli
Copy link
Member

qingwli commented Nov 27, 2023

What's your test content was?

@fuchanghai
Copy link
Member Author

fuchanghai commented Nov 27, 2023

What's your test content was?
hi @qingwli you can see #15176

@qingwli
Copy link
Member

qingwli commented Nov 27, 2023

image No content value

@fuchanghai
Copy link
Member Author

fuchanghai commented Nov 27, 2023

image No content value

content is this is ${a}
output parameter ,you can choose one of follow :

  • key : a value : 99${aa}
  • key : a value : 99$

@qingwli
Copy link
Member

qingwli commented Nov 27, 2023

image
Works well for me? Any different?

@fuchanghai
Copy link
Member Author

i'm sorry ,you can test this content select * from a where a != !{a}
image

@ruanwenjun
Copy link
Member

Please add Ut for this, this issue is not clear.

@fuchanghai
Copy link
Member Author

Please add Ut for this, this issue is not clear.

i will add UT, tomorrow

@fuchanghai
Copy link
Member Author

Please add Ut for this, this issue is not clear.

dnoe

@fuchanghai
Copy link
Member Author

image Works well for me? Any different?

hi @qingwli I had add UT,PTAL

@qingwli
Copy link
Member

qingwli commented Dec 1, 2023

@ruanwenjun PTAL

@fuchanghai
Copy link
Member Author

@caishunfeng @SbloodyS PTAL

@sonarqubecloud
Copy link

@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity for 120 days. It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the Stale label May 22, 2024
@github-actions
Copy link

This pull request has been closed because it has not had recent activity. You could reopen it if you try to continue your work, and anyone who are interested in it are encouraged to continue work on this pull request.

@github-actions github-actions bot closed this May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend bug Something isn't working Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants