Query Information
PPL Command/Query:
source=bounty-numbers | appendpipe [stats avg(value) as avg_val] | appendpipe [stats max(value) as max_val]
Expected Result:
Query should execute and return appended aggregation output without planner failure.
Actual Result:
HTTP 400 assertion error:
Relational expression ... belongs to a different planner than is currently being used.
Dataset Information
Dataset/Schema Type
Index Mapping
{
"mappings": {
"properties": {
"count": { "type": "integer" },
"category": { "type": "keyword" },
"subcategory": { "type": "keyword" },
"value": { "type": "double" },
"ts": { "type": "date" }
}
}
}
Sample Data
[
{ "count": 1, "category": "A", "subcategory": "X", "value": 10.5, "ts": "2024-01-01" },
{ "count": 2, "category": "A", "subcategory": "Y", "value": 20.3, "ts": "2024-01-02" },
{ "count": 10, "category": "B", "subcategory": "X", "value": 100.0, "ts": "2024-01-03" }
]
Bug Description
Issue Summary:
Chained appendpipe triggers planner mismatch assertion.
Steps to Reproduce:
- Create index and insert sample rows.
- Run the query above.
- Observe HTTP 400 assertion about different planner.
Impact:
Multi-stage appendpipe transformations fail and break query pipelines.
Query Information
PPL Command/Query:
Expected Result:
Query should execute and return appended aggregation output without planner failure.
Actual Result:
HTTP 400 assertion error:
Relational expression ... belongs to a different planner than is currently being used.Dataset Information
Dataset/Schema Type
Index Mapping
{ "mappings": { "properties": { "count": { "type": "integer" }, "category": { "type": "keyword" }, "subcategory": { "type": "keyword" }, "value": { "type": "double" }, "ts": { "type": "date" } } } }Sample Data
[ { "count": 1, "category": "A", "subcategory": "X", "value": 10.5, "ts": "2024-01-01" }, { "count": 2, "category": "A", "subcategory": "Y", "value": 20.3, "ts": "2024-01-02" }, { "count": 10, "category": "B", "subcategory": "X", "value": 100.0, "ts": "2024-01-03" } ]Bug Description
Issue Summary:
Chained
appendpipetriggers planner mismatch assertion.Steps to Reproduce:
Impact:
Multi-stage appendpipe transformations fail and break query pipelines.