You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Piotr Karwasz (Jira)" <ji...@apache.org> on 2024/12/05 07:28:00 UTC

[jira] [Created] (HIVE-28656) Improve HPL/SQL tests

Piotr Karwasz created HIVE-28656:
------------------------------------

             Summary: Improve HPL/SQL tests
                 Key: HIVE-28656
                 URL: https://issues.apache.org/jira/browse/HIVE-28656
             Project: Hive
          Issue Type: Improvement
      Security Level: Public (Viewable by anyone)
            Reporter: Piotr Karwasz


The HPL/SQL tests are fragile, since they make assertions on the {{System.out}} and {{System.err}} output. Whenever external output appears in these streams (e.g., logs), the tests fail.

A better approach would be to use the already introduced {{Console}} abstraction to store the HPL/SQL output in private {{ByteArrayOutputStream}} s.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)