jiashenC commented on code in PR #13420:
URL: https://github.com/apache/datafusion/pull/13420#discussion_r1849662134


##########
datafusion/sqllogictest/test_files/scalar.slt:
##########
@@ -1864,10 +1864,10 @@ query TT
 EXPLAIN SELECT letter, letter = LEFT(letter2, 1) FROM simple_string;
 ----
 logical_plan
-01)Projection: simple_string.letter, simple_string.letter = 
left(simple_string.letter2, Int64(1))
+01)Projection: simple_string.letter, simple_string.letter = 
left(CAST(simple_string.letter2 AS Utf8View), Int64(1))

Review Comment:
   Hey @jayzhan211, I have added dictionary support for those four functions 
and `repeat` because the logical type casting skipping fails some relevant 
tests. Please let me know if you have any thoughts on the current 
implementation. 
   
   I also have a question when getting values from `Dictionary` to get the 
actual string, it drops `NULL` values, which causes some tests to fail. Is 
there any helper method I can use to get `NULL` preserving values from the 
`Dictionary`?



-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to