llphxd commented on issue #18402:
URL: 
https://github.com/apache/dolphinscheduler/issues/18402#issuecomment-5101486826

   > +1, this is a good proposal. Howerer, Fuzzy query using `like` in database 
will lead to index invalidation, which is not a good way.
   
   Thanks @SbloodyS , that's a fair concern.But as far as I can tell, this is 
pretty much how name search already works across DS today:
   workflow instances, task instances, workflow definitions, and the task group 
queue all
   use a plain `name LIKE '%...%'`. So reusing the same approach here felt like 
the most consistent option rather than introducing something new.
   
   There's also `TaskDefinitionMapper#filterTaskDefinition`, which already does 
exactly this
   query and has been unused since 
[DSIP-59](https://github.com/apache/dolphinscheduler/issues/16394) — seems like 
a natural fit to just reuse.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to