alamb opened a new issue, #3531:
URL: https://github.com/apache/arrow-datafusion/issues/3531

   **Describe the bug**
   
   While updating to the latest and greatest DataFusion pin in IOx 
(https://github.com/influxdata/influxdb_iox/pull/5672) I got the following 
error:
   ```
   Error encoding expr as protobuf: Dictionary(Int32, Utf8(\"B\")) is invalid 
as a DataFusion scalar value"
   ```
   I think the issue is that now more data type casting is done as part of 
logical planning (https://github.com/apache/arrow-datafusion/pull/3396) the 
types of some constants (`ScalarValue`s ) have been coerced to the correct type 
resulting in serialized `ScalarValue::Dictionary` that were not there before
   
   **To Reproduce**
   Try to serialize/deserialize `ScalarValue::Dictionary`
   
   **Expected behavior**
   it works without error!
   
   **Additional context**
   https://github.com/influxdata/influxdb_iox/pull/5672


-- 
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]

Reply via email to