[2/3] drill git commit: DRILL-5546: Handle schema change exception failure caused by empty input or empty batch.

2017-09-05 Thread jni
http://git-wip-us.apache.org/repos/asf/drill/blob/fde0a1df/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionAllRecordBatch.java -- diff --git

[3/3] drill git commit: DRILL-5546: Handle schema change exception failure caused by empty input or empty batch.

2017-09-05 Thread jni
DRILL-5546: Handle schema change exception failure caused by empty input or empty batch. 1. Modify ScanBatch's logic when it iterates list of RecordReader. 1) Skip RecordReader if it returns 0 row && present same schema. A new schema (by calling Mutator.isNewSchema() ) means either a new top

[1/3] drill git commit: DRILL-5546: Handle schema change exception failure caused by empty input or empty batch.

2017-09-05 Thread jni
Repository: drill Updated Branches: refs/heads/master e1649dd7d -> fde0a1df1 http://git-wip-us.apache.org/repos/asf/drill/blob/fde0a1df/exec/java-exec/src/test/java/org/apache/drill/TestUnionDistinct.java -- diff --git

drill git commit: DRILL-5737: Hash Agg uses more than the allocated memory under certain low memory conditions Note: Provide a new config parameter HASHAGG_FALLBACK_ENABLED which is set to true by def

2017-09-05 Thread amansinha
Repository: drill Updated Branches: refs/heads/master d105950a7 -> e1649dd7d DRILL-5737: Hash Agg uses more than the allocated memory under certain low memory conditions Note: Provide a new config parameter HASHAGG_FALLBACK_ENABLED which is set to true by default. When 2 Phase HashAgg