You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Paul Rogers (JIRA)" <ji...@apache.org> on 2016/11/21 18:01:04 UTC

[jira] [Updated] (DRILL-5059) JDBC tests queries by dumping query to stdout

     [ https://issues.apache.org/jira/browse/DRILL-5059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Rogers updated DRILL-5059:
-------------------------------
    Description: 
The JDBC tests in {{org.apache.drill.jdbc.test.TestJdbcDistQuery}}, {{TestBugFixes}} (and perhaps others) "test" queries by running them and dumping the results to stdout. In a normal Maven build, the output clutters up the test output and is ignored.

To be an actual test, the output should be captured, then compared against a "golden" file to verify that the query produced the expected results. Else, the test can capture only catastrophic failure, but not other problems.

  was:
The JDBC tests in {{org.apache.drill.jdbc.test.TestJdbcDistQuery}} "test" queries by running them and dumping the results to stdout. In a normal Maven build, the output clutters up the test output and is ignored.

To be an actual test, the output should be captured, then compared against a "golden" file to verify that the query produced the expected results. Else, the test can capture only catastrophic failure, but not other problems.


> JDBC tests queries by dumping query to stdout
> ---------------------------------------------
>
>                 Key: DRILL-5059
>                 URL: https://issues.apache.org/jira/browse/DRILL-5059
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build & Test
>    Affects Versions: 1.8.0
>            Reporter: Paul Rogers
>            Priority: Minor
>
> The JDBC tests in {{org.apache.drill.jdbc.test.TestJdbcDistQuery}}, {{TestBugFixes}} (and perhaps others) "test" queries by running them and dumping the results to stdout. In a normal Maven build, the output clutters up the test output and is ignored.
> To be an actual test, the output should be captured, then compared against a "golden" file to verify that the query produced the expected results. Else, the test can capture only catastrophic failure, but not other problems.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)