Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Do
-
None
Description
Add a server variable, to the Spider storage engine, that enables/disables the use of GROUP BY handler. This provides users with a unified workaround for the bugs like MDEV-26013. In the Spider docs, an execution is called "direct" if it uses GROUP BY handler (e.g., direct aggregation, direct join, ...). So, the parameter name would be spider_direct_execution spider_enable_direct_select. Or, simply naming spider_enable_group_by_handler would be OK.
The default value of the variable should be 1 (i.e., use GROUP BY handler) for compatibility.
Attachments
Issue Links
- is duplicated by
-
MDEV-32238 Add a switch to disable spider group by handler
-
- Closed
-
- relates to
-
MDEV-26361 Spider: Use GROUP BY handler only when necessary and safe
-
- Closed
-
-
MDEV-26369 Add Spider status variable to count usage of GROUP BY handler
-
- Open
-
serg I would like to introduce the parameter to 10.3 and later. In principle, it might not be good to add a new parameter to the stable versions, but I expect this helps many users. I also think that the parameter should have been introduced at the same time as the GROUP BY handler.
What do you think? I would also like to get your opinion on the parameter name.