You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozhera.apache.org by "sadadw1 (via GitHub)" <gi...@apache.org> on 2026/10/08 07:59:03 UTC

[PR] refactor: build log query SQL with parameterized statements [ozhera]

sadadw1 opened a new pull request, #690:
URL: https://github.com/apache/ozhera/pull/690

   ### What's changed
   
   - Adds `LogQuerySqlBuilder` in `ozhera-log/log-manager`, which builds the Doris log query / statistics SQL with `PreparedStatement` bind parameters.
   - Sort key, tail and index identifiers used in SQL are validated against an allow-list.
   - `EsDataServiceImpl` now builds its queries through the builder instead of assembling SQL text by concatenation.
   - Adds unit tests in `LogQuerySqlBuilderTest`.
   
   ### Notes
   
   - No behavior change for valid inputs; invalid sort/tail/index values are rejected.
   - No public API changes.
   


-- 
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: commits-unsubscribe@ozhera.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozhera.apache.org
For additional commands, e-mail: commits-help@ozhera.apache.org


Re: [PR] refactor: build log query SQL with parameterized statements [ozhera]

Posted by "sadadw1 (via GitHub)" <gi...@apache.org>.
sadadw1 merged PR #690:
URL: https://github.com/apache/ozhera/pull/690


-- 
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: commits-unsubscribe@ozhera.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozhera.apache.org
For additional commands, e-mail: commits-help@ozhera.apache.org