Skip to content

[VL]Vector encoding type check failed in DecimalSumAggregate #1870

@CLTFOREVER

Description

@CLTFOREVER

Describe the bug
java.lang.RuntimeException: Exception: VeloxRuntimeError
Error Source: RUNTIME
Error Code: INVALID_STATE
Reason: (FLAT vs. ROW)
Retriable: False
Expression: decodedPartial_.base()->encoding() == VectorEncoding::Simple::ROW
Function: addSingleGroupIntermediateResults
File: gluten/ep/build-velox/build/velox_ep/./velox/functions/sparksql/aggregates/DecimalSumAggregate.h
Line: 317

To Reproduce
Steps to reproduce the behavior:
select sum(xxx) from table; xxx's type is decimal.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions