mdayakar commented on code in PR #4476:
URL: https://github.com/apache/hive/pull/4476#discussion_r1265782073
##########
hplsql/src/test/queries/local/dbms_output.sql:
##########
@@ -3,4 +3,7 @@ DECLARE
BEGIN
DBMS_OUTPUT.PUT_LINE('Hello, world!');
DBMS_OUTPUT.PUT_LINE(str);
+ DBMS_OUTPUT.PUT_LINE(trim('a''a'));
+ DBMS_OUTPUT.PUT_LINE(trim('''a'));
+ DBMS_OUTPUT.PUT_LINE(trim('a'''));
Review Comment:
Removed trim function from test cases.
It will throw error as single quotes are not properly closed.
Added the test cases for the specified scenarios. Also changed the behaviour
as per Oracles PL/SQL output.
--
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]