beliefer commented on a change in pull request #25740:
[SPARK-28412][SQL][TEST][FOLLOW-UP]Enable overlay binary function tests
URL: https://github.com/apache/spark/pull/25740#discussion_r326447245
##########
File path: sql/core/src/test/resources/sql-tests/inputs/pgSQL/strings.sql
##########
@@ -653,8 +653,9 @@ SELECT trim(binary('\\000') from binary('\\000Tom\\000'));
-- SELECT btrim(E'\\000trim\\000'::bytea, ''::bytea);
-- [SPARK-28121] decode can not accept 'escape' as charset
-- [SPARK-28412][SQL] ANSI SQL: OVERLAY function support byte array
--- SELECT encode(overlay(E'Th\\000omas'::bytea placing E'Th\\001omas'::bytea
from 2),'escape');
--- SELECT encode(overlay(E'Th\\000omas'::bytea placing E'\\002\\003'::bytea
from 8),'escape');
--- SELECT encode(overlay(E'Th\\000omas'::bytea placing E'\\002\\003'::bytea
from 5 for 3),'escape');
Review comment:
@HyukjinKwon I read the source code again and find `String Constants with
C-style Escapes` seems supported now. I have two comment in the SPARK-29034.
----------------------------------------------------------------
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]