HaoYang670 commented on issue #1623:
URL:
https://github.com/apache/arrow-datafusion/issues/1623#issuecomment-1032191893
It seems like there is a `List(None, _)` in the `states`:
```rust
let col_values = states
.iter()
.map(|state| match state {
ScalarValue::List(Some(values), _) => Ok(values),
_ => Err(DataFusionError::Internal(format!(
"Unexpected accumulator state {:?}",
state
))),
})
.collect::<Result<Vec<_>>>()?;
```
https://github.com/apache/arrow-datafusion/blob/master/datafusion/src/physical_plan/expressions/distinct_expressions.rs#L148-L157
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]