You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Deneche A. Hakim (JIRA)" <ji...@apache.org> on 2016/02/22 21:45:18 UTC
[jira] [Created] (DRILL-4423) TestCsvHeader#testEmptyFinalColumn is
causing the unit test framework to print 10K rows in Stdout
Deneche A. Hakim created DRILL-4423:
---------------------------------------
Summary: TestCsvHeader#testEmptyFinalColumn is causing the unit test framework to print 10K rows in Stdout
Key: DRILL-4423
URL: https://issues.apache.org/jira/browse/DRILL-4423
Project: Apache Drill
Issue Type: Bug
Affects Versions: 1.5.0
Reporter: Deneche A. Hakim
Assignee: Deneche A. Hakim
Priority: Minor
This unit test is printing 10.000 rows all equal to the following line:
{noformat}
field2(VARCHAR:REQUIRED)[$offsets$(UINT4:REQUIRED)]
{noformat}
DrillTestWrapper contains the following code in 2 separate methods that prints a field's details whenever an "empty" value is encountered:
{code}
if (obj instanceof Text) {
obj = obj.toString();
if (obj.equals("")) {
System.out.println(w.getField());
}
}
{code}
Because this particular unit test was creating 10K rows with an empty field, it was causing lot's of output to Stdout.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)