RounakKumarAgarwal opened a new pull request, #67170:
URL: https://github.com/apache/doris/pull/67170

   ## Proposed changes
   
   Implements #66661. Adds query history and result caching to the Playground 
SQL console in the FE Web UI.
   
   - **Query history**: executed statements are persisted in `localStorage` 
(scoped per FE host, ~100-entry ring buffer) with success/error status. A 
drawer lists past queries; clicking one reloads it into the editor. Supports 
per-item delete and clear-all.
   - **Result cache**: re-running an identical statement (normalized SQL + 
database) within a TTL replays a cached result instead of re-querying, with 
row/entry caps to bound `localStorage` usage. Cached results are marked with a 
"Cached" tag so they aren't mistaken for a live run.
   - **i18n**: adds the corresponding en-US and zh-CN strings.
   
   All changes are client-side in `ui/`; no FE/BE or API changes.
   
   ## Checklist
   - [x] Built successfully with `npm run build`
   - [ ] Tested against a running FE


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to