Github user gatorsmile commented on a diff in the pull request: https://github.com/apache/spark/pull/19977#discussion_r157905810 --- Diff: sql/core/src/test/resources/sql-tests/inputs/string-functions.sql --- @@ -24,3 +24,25 @@ select left("abcd", 2), left("abcd", 5), left("abcd", '2'), left("abcd", null); select left(null, -2), left("abcd", -2), left("abcd", 0), left("abcd", 'a'); select right("abcd", 2), right("abcd", 5), right("abcd", '2'), right("abcd", null); select right(null, -2), right("abcd", -2), right("abcd", 0), right("abcd", 'a'); + +-- Concatenate binary inputs +SELECT (col1 || col2 || col3 || col4) col --- End diff -- Let us add a new suite in `.../sql/core/src/test/resources/sql-tests/inputs/typeCoercion/native/`
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org