There is already a check in the LogicalPlanBuilder that only allows one aggregation inside the PIVOT:
|
throw new ParsingException(source(pivotClause.aggs), "PIVOT currently supports only one aggregation, found [{}]", |
This issue is about adding a unit test to cover this check.
There is already a check in the
LogicalPlanBuilderthat only allows one aggregation inside the PIVOT:elasticsearch/x-pack/plugin/sql/src/main/java/org/elasticsearch/xpack/sql/parser/LogicalPlanBuilder.java
Line 186 in 2f5ab81
This issue is about adding a unit test to cover this check.