alamb commented on code in PR #6085:
URL: https://github.com/apache/arrow-datafusion/pull/6085#discussion_r1174406402
##########
datafusion/common/src/scalar.rs:
##########
@@ -5584,6 +5584,87 @@ mod tests {
}
}
+ #[test]
Review Comment:
I ran the same commands on this branch:
```
❯ select struct(1, 2);
+---------------------------+
| struct(Int64(1),Int64(2)) |
+---------------------------+
| {c0: 1, c1: 2} |
+---------------------------+
1 row in set. Query took 0.002 seconds.
❯ select struct(null, 2);
+-----------------------+
| struct(NULL,Int64(2)) |
+-----------------------+
| {c0: , c1: 2} |
+-----------------------+
1 row in set. Query took 0.002 seconds.
❯ select null::struct;
This feature is not implemented: Unsupported SQL type
Custom(ObjectName([Ident { value: "struct", quote_style: None }]), [])
```
And the results seem the same
--
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]