Dandandan commented on issue #1179:
URL:
https://github.com/apache/arrow-datafusion/issues/1179#issuecomment-952997737
The source of the problem is here:
```
SQLExpr::Value(Value::Null) => {
Ok(Expr::Literal(ScalarValue::Utf8(None)))
}
```
I would propose:
* To introduce `ScalarValue::Null` and use that instead for `Value::Null`.
* Return `DataType::Null` as type for `ScalarValue::Null`
* Implement the rest of changes in coercion as needed.
--
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]