yaooqinn commented on issue #26626: [SPARK-29986][SQL] Introduce java like string trim to UTF8String URL: https://github.com/apache/spark/pull/26626#issuecomment-557053311 > can you try `select trim('2019-10-10\t')` in other databases? we are not changing string trim here, but here is the test result. ```sql postgres=# select length(trim(E'2019-10-10\t')); length -------- 11 (1 row) ``` ``` presto> select length(trim('2019-10-10' || CHR(09))); _col0 ------- 10 (1 row) ``` ``` hive select length(trim('2019-10-10\t')) "_c0" "11" ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
