alamb commented on code in PR #14687:
URL: https://github.com/apache/datafusion/pull/14687#discussion_r2067521368
##########
datafusion/sqllogictest/test_files/union_function.slt:
##########
@@ -45,3 +49,19 @@ select union_extract(union_column, 1) from union_table;
query error DataFusion error: Error during planning: The function
'union_extract' expected 2 arguments but received 3
select union_extract(union_column, 'a', 'b') from union_table;
+
+query ?T
+select union_column, union_tag(union_column) from union_table;
+----
+{int=1} int
+{string=bar} string
Review Comment:
I added a new test as suggested
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]