Repository navigation
[Backport 2.19-dev] Implementation of regex Command In PPL - #4218
Merged
Merged
Conversation
…t#4083) * implement regex cmd with calcite support by suing java library Signed-off-by: Jialiang Liang <[email protected]> * code hygiene fix Signed-off-by: Jialiang Liang <[email protected]> * comment clean up Signed-off-by: Jialiang Liang <[email protected]> * implement explain it Signed-off-by: Jialiang Liang <[email protected]> * disable regex when calcite is disable and add a test in analyzer Signed-off-by: Jialiang Liang <[email protected]> * fix spotless check Signed-off-by: Jialiang Liang <[email protected]> * [refactor] refactor some regex fn into a util class for re-usage Signed-off-by: Jialiang Liang <[email protected]> * [refactor] revert filter query builder cuz we do not need it anymore Signed-off-by: Jialiang Liang <[email protected]> * add rst docs for regex cmd Signed-off-by: Jialiang Liang <[email protected]> * add IT for regex cmd Signed-off-by: Jialiang Liang <[email protected]> * add IT for calcite no pushdown Signed-off-by: Jialiang Liang <[email protected]> * fix regex exp behavior for non string val Signed-off-by: Jialiang Liang <[email protected]> * style - remove some verbose comments Signed-off-by: Jialiang Liang <[email protected]> * remove string convertion Signed-off-by: Jialiang Liang <[email protected]> * use existing operator of REGEXP_CONTAINS Signed-off-by: Jialiang Liang <[email protected]> * fix integ test of rgex with pushdown after operator commit Signed-off-by: Jialiang Liang <[email protected]> * remove some verbose comments and fix some style Signed-off-by: Jialiang Liang <[email protected]> * fix explain it in no pushdown Signed-off-by: Jialiang Liang <[email protected]> * comment - remove unused fn for string converting Signed-off-by: Jialiang Liang <[email protected]> * remove duplicated regex match operator alias Signed-off-by: Jialiang Liang <[email protected]> * unit test - initail commit Signed-off-by: Jialiang Liang <[email protected]> * anonymizer with test Signed-off-by: Jialiang Liang <[email protected]> * fix spotlessApply Signed-off-by: Jialiang Liang <[email protected]> * add cross cluster IT Signed-off-by: Jialiang Liang <[email protected]> * fix spotless apply Signed-off-by: Jialiang Liang <[email protected]> * tomo - fix operator constant Signed-off-by: Jialiang Liang <[email protected]> * tomo - fix regex java doc Signed-off-by: Jialiang Liang <[email protected]> * tomo - field and pattern handling fix Signed-off-by: Jialiang Liang <[email protected]> * tomo - fix LRUCache Signed-off-by: Jialiang Liang <[email protected]> * tomo - remove unnecessary delegation layer Signed-off-by: Jialiang Liang <[email protected]> * rst doc fix Signed-off-by: Jialiang Liang <[email protected]> * tomo - fix comments Signed-off-by: Jialiang Liang <[email protected]> * DEFAULT FIELD related change Signed-off-by: Jialiang Liang <[email protected]> * DEFAULT FIELD - fix anonymizer tests Signed-off-by: Jialiang Liang <[email protected]> * tomo - add unit test for regex util class Signed-off-by: Jialiang Liang <[email protected]> * chen - remove code for legacy engine Signed-off-by: Jialiang Liang <[email protected]> * chen - remove stalled logic for spcified field Signed-off-by: Jialiang Liang <[email protected]> * chen - merge into 1 grammar in parser Signed-off-by: Jialiang Liang <[email protected]> * properly handle non-string field Signed-off-by: Jialiang Liang <[email protected]> * remove verbose comments Signed-off-by: Jialiang Liang <[email protected]> * remove verbose comments Signed-off-by: Jialiang Liang <[email protected]> * address commetns Signed-off-by: Jialiang Liang <[email protected]> * fix doc test for regex Signed-off-by: Jialiang Liang <[email protected]> * fix doc Signed-off-by: Jialiang Liang <[email protected]> --------- Signed-off-by: Jialiang Liang <[email protected]>
RyanL1997
requested review from
GumpacG,
LantaoJin,
MaxKsyunz,
Swiddis,
YANG-DB,
Yury-Fridlyand,
acarbonetto,
anirudha,
dai-chen,
derek-ho,
forestmvey,
joshuali925,
kavithacm,
mengweieric,
noCharger,
penghuo,
ps48,
qianheng-aws,
seankao-az and
ykmr1224
as code owners
September 3, 2025 20:16
regex Command In PPL (#4083)regex Command In PPL
Collaborator
Signed-off-by: Tomoyuki Morita <[email protected]>
Signed-off-by: Tomoyuki Morita <[email protected]>
ps48
approved these changes
Sep 3, 2025
ykmr1224
approved these changes
Sep 3, 2025
Merged
1 of 8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Manual backport
Related Issues
regexCommand In PPL #4083Check List
--signoffor-s.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.