alamb commented on code in PR #3547:
URL: https://github.com/apache/arrow-datafusion/pull/3547#discussion_r979830748


##########
datafusion/proto/proto/datafusion.proto:
##########
@@ -714,6 +714,9 @@ message Union{
 }
 
 message ScalarListValue{
+    // encode null explicitly to distinguish a list with a null value
+    // from a list with no values)
+    bool is_null = 3;

Review Comment:
   The short answer is I don't know -- the longer answer is that the 
`null_value` support at the scalar level requires a strange mirror type 
(`PrimitiveScalarValue`) which doesn't quite have the same support for types as 
the normal `DataType` -- I am working in the background to remove  that 
structure in https://github.com/apache/arrow-datafusion/pull/3612 and I will 
also try to remove this explict null coding as well



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