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

   ## Proposed changes
   In BI or some other SQL client,it will set `sql_select_limit` or 
`default_order_by_limit` session variables automatically.
   This will make mistake when query rewrite by materialized view, Because 
after query rewrite by materialized view, the rewritten plan would be optimized 
by rules again which should add limit on SQL.
   This pr fix this.
   


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