Skip to content

Conversation

@github-actions
Copy link
Contributor

Cherry-picked from #56434

… session variables and audit log's HitSqlCache not working (#56434)

### What problem does this PR solve?

1. fix sql cache use legacy cache when use some special session
variables, and make some regression test unstable
  - skip_delete_predicate
  - skip_delete_sign
  - skip_delete_bitmap
  - skip_missing_version
  - skip_bad_tablet
  - skip_storage_engine_merge
  - show_hidden_columns
2. fix audit log's HitSqlCache not working because not set stmtType for
LogicalSqlCache
@hello-stephen
Copy link
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring dataroaring reopened this Sep 28, 2025
@hello-stephen
Copy link
Contributor

run buildall

@doris-robot
Copy link

ClickBench: Total hot run time: 30.27 s
machine: 'aliyun_ecs.c7a.8xlarge_32C64G'
scripts: https://github.com/apache/doris/tree/master/tools/clickbench-tools
ClickBench test result on commit 2f95f2efb8be65a2638caa0563f43765ffa5f915, data reload: true

query1	0.04	0.04	0.02
query2	0.11	0.04	0.03
query3	0.28	0.07	0.07
query4	1.74	0.12	0.12
query5	0.26	0.25	0.25
query6	1.22	0.65	0.66
query7	0.03	0.02	0.02
query8	0.05	0.05	0.04
query9	0.61	0.53	0.52
query10	0.58	0.57	0.57
query11	0.18	0.11	0.11
query12	0.16	0.12	0.12
query13	0.63	0.61	0.61
query14	0.80	0.85	0.82
query15	0.88	0.86	0.86
query16	0.40	0.39	0.40
query17	1.04	1.07	1.07
query18	0.20	0.20	0.20
query19	1.94	1.86	1.88
query20	0.02	0.01	0.02
query21	15.44	0.91	0.57
query22	0.80	1.19	0.76
query23	15.13	1.35	0.62
query24	4.35	1.14	0.38
query25	0.22	0.06	0.04
query26	0.48	0.16	0.13
query27	0.05	0.05	0.04
query28	11.78	1.46	0.93
query29	12.72	3.89	3.22
query30	0.31	0.13	0.10
query31	3.04	0.62	0.41
query32	3.53	0.59	0.50
query33	3.37	3.34	3.40
query34	18.02	5.80	5.01
query35	5.03	5.07	5.13
query36	0.75	0.54	0.48
query37	0.10	0.06	0.07
query38	0.08	0.04	0.03
query39	0.04	0.03	0.03
query40	0.17	0.15	0.14
query41	0.09	0.02	0.02
query42	0.04	0.03	0.02
query43	0.04	0.03	0.03
Total cold run time: 106.75 s
Total hot run time: 30.27 s

@yiguolei yiguolei merged commit de97b93 into branch-4.0 Sep 28, 2025
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants