Details
-
Task
-
Status: In Review (View Workflow)
-
Critical
-
Resolution: Unresolved
-
None
-
Q4/2025 Server Maintenance
Description
Spider's GROUP BY handler (GBH) implementation is one of the prominent sources of the Spider bugs. Implement the select handler for Spider and evaluate if we can replace the existing GBH with the select handler.
The select handler intercepts the query processing much earlier than GBH. I expect that this makes it easier for Spider to generate queries for data nodes.
Related documents:
- The issue description of
MDEV-6080, MDEV-22366,MDEV-17631,MDEV-32273, and the attached design doc spider_select_handler.org - The patches implementing the select handler:
- The ColumnStore implementation of the select handler:
Attachments
Issue Links
- blocks
-
MDEV-37818 Spider select handler V2
-
- Open
-
-
MDEV-37819 Spider: change default from group by handler (gbh) to select handler (sh)
-
- Open
-
- causes
-
MDEV-37410 XAER_OUTSIDE in bb-main-mdev-27260
-
- Closed
-
- includes
-
MDEV-37110 Spider select handler: implement one that handles testcases showcasing problems with the gbh
-
- Closed
-
-
MDEV-37111 Spider select handler: implement one that handles all existing spider testcases
-
- Closed
-
-
MDEV-37113 Spider select handler: clean up relevant existing spider code
-
- Closed
-
-
MDEV-37114 Spider select handler: PoC and initial planning
-
- Closed
-
-
MDEV-37202 spider select handler: interim planning, design and implementation improvement
-
- Closed
-
-
MDEV-37291 Some remaining tasks for spider select handler V1 implementation
-
- Closed
-
- relates to
-
MDEV-37810 Introduce combinations of gbh and usual handlers to spider tests
-
- Open
-
-
MDEV-20250 Implement early partition pruning before statement start
-
- Stalled
-
-
MDEV-32273 Research/Design: Broken queries are passed to the group by handler for execution
-
- Closed
-
-
MDEV-37112 Spider select handler: implement derived handler
-
- Open
-