You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "carloea2 (via GitHub)" <gi...@apache.org> on 2026/08/30 22:05:48 UTC

[I] Dashboard whitespace searches execute an empty full-text query [texera]

carloea2 opened a new issue, #8156:
URL: https://github.com/apache/texera/issues/8156

   ### What happened?
   
   Dashboard search removes whitespace after checking whether keywords are empty. A whitespace-only keyword therefore survives validation and produces an empty full-text predicate instead of behaving like an empty search.
   
   Before: whitespace-only query -> `pgroonga_condition('')`
   After: whitespace-only query -> no full-text condition
   
   On the local main branch, a request without a query returns 200 while the same request with three spaces returns 500 during the unnecessary full-text lookup.
   
   ### How to reproduce?
   
   1. Run the current main branch locally.
   2. Request `GET /api/dashboard/publicSearch?resourceType=workflow` and observe HTTP 200.
   3. Repeat with `query` set to three spaces.
   4. Observe the empty PGroonga condition in the generated SQL and HTTP 500 locally.
   
   ### Version/Branch
   
   1.3.0-incubating-SNAPSHOT (main)
   
   ### Commit Hash
   
   98588bf2ab49aac65ebf002496eb057670e6fc07
   
   ### Relevant log output
   
   where (((COALESCE(...) &@~ pgroonga_condition('', fuzzy_max_distance_ratio => 0.34))


-- 
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: notifications-unsubscribe@texera.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Dashboard whitespace searches execute an empty full-text query [texera]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8156:
URL: https://github.com/apache/texera/issues/8156#issuecomment-5471543406

   <!-- texera:template-compliance -->
   👋 Thanks for opening this issue, @carloea2!
   
   It looks like the issue description doesn't quite follow our template yet:
   
   - This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
   
   Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
   
   You can find the template prompts by editing the description, or see [CONTRIBUTING.md](https://github.com/apache/texera/blob/main/CONTRIBUTING.md) for the full contribution flow.
   


-- 
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: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Dashboard whitespace searches execute an empty full-text query [texera]

Posted by "Yicong-Huang (via GitHub)" <gi...@apache.org>.
Yicong-Huang closed issue #8156: Dashboard whitespace searches execute an empty full-text query
URL: https://github.com/apache/texera/issues/8156


-- 
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: notifications-unsubscribe@texera.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org