-
Notifications
You must be signed in to change notification settings - Fork 814
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
TINKERPOP-3090 TrimGlobalStep handles unicode characters as Ltrim and Rtrim #2666
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 3.7-dev #2666 +/- ##
=============================================
+ Coverage 76.14% 76.71% +0.57%
- Complexity 13152 13187 +35
=============================================
Files 1084 1087 +3
Lines 65160 66368 +1208
Branches 7285 7299 +14
=============================================
+ Hits 49616 50916 +1300
+ Misses 12839 12740 -99
- Partials 2705 2712 +7 ☔ View full report in Codecov by Sentry. |
CHANGELOG.asciidoc
Outdated
@@ -39,6 +39,7 @@ This release also includes changes from <<release-3-6-7, 3.6.7>>. | |||
* Deprecated `ltrim()` and `rTrim()` in favor of `l_trim()` and `r_trim` in Python. | |||
* Fixed bug in `onCreate` for `mergeV()` where use of the `Cardinality` functions was not properly handled. | |||
* Fixed multiple concurrent initially requests caused authentication to fail. | |||
* Fixed so that TrimGlobalStep has the same character control handling as Ltrim and Rtrim |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you need move your changelog entry up to 3.7.3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved, thanks
VOTE +1, pending CHANGELOG fix |
VOTE +1, also pending GLV feature test file updates (i.e. |
Good to also update |
gremlin-test/src/main/resources/org/apache/tinkerpop/gremlin/test/features/map/RTrim.feature
Show resolved
Hide resolved
CHANGELOG.asciidoc
Outdated
@@ -30,6 +30,7 @@ This release also includes changes from <<release-3-6-8, 3.6.8>>. | |||
* Deprecated public constructor for `SeedStrategy` in favor of builder pattern to be consistent with other strategies. | |||
* Allow specifying a customized Spark app name | |||
* CoinStep has a getter method for its probability field | |||
* Fixed so that TrimGlobalStep has the same character control handling as Ltrim and Rtrim |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: mention TrimLocalStep
VOTE+1 |
done! Now they all rely on the same common method |
https://issues.apache.org/jira/browse/TINKERPOP-3090
The current behavior is inconsistent because it relies upon a different API to detect space characters. I think String#trim does not handle unicode characters.