Jefffrey commented on code in PR #19832:
URL: https://github.com/apache/datafusion/pull/19832#discussion_r2700578759


##########
datafusion/sqllogictest/test_files/spark/math/hex.slt:
##########
@@ -63,3 +63,18 @@ query T
 SELECT hex(arrow_cast('test', 'LargeBinary')) as lar_b;
 ----
 74657374
+
+statement ok
+CREATE TABLE t_dict_utf8 AS
+SELECT arrow_cast(column1, 'Dictionary(Int32, Utf8)') as dict_col
+FROM VALUES ('foo'), ('bar'), ('foo'), (NULL), ('baz'), ('bar');
+
+query T
+SELECT hex(dict_col) FROM t_dict_utf8;

Review Comment:
   I guess it's related to this issue
   
   - https://github.com/apache/datafusion/issues/19458
   
   We can still push through with this PR even though it only works for binary 
(we can change the tests to binary here)



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

Reply via email to