[GitHub] drill pull request #1225: DRILL-6272: Refactor dynamic UDFs and function ini...

2018-05-02 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1225#discussion_r185497944 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/coord/zk/TestZookeeperClient.java --- @@ -125,7 +125,7 @@ public void

[GitHub] drill pull request #1225: DRILL-6272: Refactor dynamic UDFs and function ini...

2018-05-01 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1225#discussion_r185383432 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/udf/dynamic/JarBuilder.java --- @@ -0,0 +1,90 @@ +/* + * Licensed to the Apache

[GitHub] drill pull request #1225: DRILL-6272: Refactor dynamic UDFs and function ini...

2018-05-01 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1225#discussion_r185385028 --- Diff: exec/java-exec/src/test/resources/drill-udf/pom.xml --- @@ -0,0 +1,90 @@ + + +http://maven.apache.org/POM/4.0.0; + xmlns:xsi

[GitHub] drill pull request #1225: DRILL-6272: Refactor dynamic UDFs and function ini...

2018-05-01 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1225#discussion_r185353418 --- Diff: exec/java-exec/src/test/java/org/apache/drill/TestTpchDistributedConcurrent.java --- @@ -177,7 +177,7 @@ public void run

[GitHub] drill pull request #1225: DRILL-6272: Refactor dynamic UDFs and function ini...

2018-05-01 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1225#discussion_r185374827 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestCTTAS.java --- @@ -164,121 +166,113 @@ public void

[GitHub] drill pull request #1225: DRILL-6272: Refactor dynamic UDFs and function ini...

2018-05-01 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1225#discussion_r185375540 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestCTTAS.java --- @@ -498,47 +489,50 @@ public void

[GitHub] drill pull request #1225: DRILL-6272: Refactor dynamic UDFs and function ini...

2018-05-01 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1225#discussion_r185369981 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/coord/zk/TestZookeeperClient.java --- @@ -125,7 +125,7 @@ public void

[GitHub] drill pull request #1225: DRILL-6272: Refactor dynamic UDFs and function ini...

2018-05-01 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1225#discussion_r185374205 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestCTTAS.java --- @@ -164,121 +166,113 @@ public void

[GitHub] drill pull request #1224: DRILL-6321: Customize Drill's conformance. Allow s...

2018-05-01 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1224#discussion_r185351651 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/DrillConformance.java --- @@ -0,0 +1,43 @@ +/* + * Licensed to the Apache

[GitHub] drill pull request #1224: DRILL-6321: Customize Drill's conformance. Allow s...

2018-05-01 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1224#discussion_r185225979 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/DrillConformance.java --- @@ -0,0 +1,43 @@ +/* + * Licensed to the Apache

[GitHub] drill issue #1236: DRILL-6347: Inconsistent method name "field".

2018-04-29 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1236 LGTM. Please squash commits. ---

[GitHub] drill issue #1235: DRILL-6336: Inconsistent method name.

2018-04-29 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1235 My take is that "append" is more common for classes with the similar functionality, see for example `ToStringBuilder`. As there is no added benefit of using "print" vs "a

[GitHub] drill issue #1237: DRILL-6348: Fixed code so that Unordered Receiver reports...

2018-04-27 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1237 IMO, it will be good to understand what other operators do as well. For example what Project or Filter operators do. Do they take ownership of incoming batches? And if they do, when is the ownership

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-27 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184804819 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unorderedreceiver/UnorderedReceiverBatch.java --- @@ -149,25 +149,32 @@ private

[GitHub] drill pull request #1238: DRILL-6281: Refactor TimedRunnable

2018-04-27 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1238#discussion_r184724657 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/TimedCallable.java --- @@ -0,0 +1,266 @@ +/* + * Licensed to the Apache Software

[GitHub] drill pull request #1238: DRILL-6281: Refactor TimedRunnable

2018-04-27 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1238#discussion_r184694930 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/TimedCallable.java --- @@ -0,0 +1,266 @@ +/* + * Licensed to the Apache Software

[GitHub] drill pull request #1238: DRILL-6281: Refactor TimedRunnable

2018-04-27 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1238#discussion_r184691926 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/TimedCallable.java --- @@ -0,0 +1,258 @@ +/* + * Licensed to the Apache Software

[GitHub] drill issue #1214: DRILL-6331: Revisit Hive Drill native parquet implementat...

2018-04-27 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1214 When moving files around please preserve the history of modifications done to the file. ---

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-26 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184596895 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/record/RawFragmentBatch.java --- @@ -77,4 +83,46 @@ public long getByteCount() { public

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-26 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184590436 --- Diff: exec/memory/base/src/main/java/org/apache/drill/exec/memory/AllocationManager.java --- @@ -253,10 +261,12 @@ public boolean transferBalance(final

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-26 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184589826 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unorderedreceiver/UnorderedReceiverBatch.java --- @@ -201,6 +208,11 @@ public

[GitHub] drill issue #1237: DRILL-6348: Fixed code so that Unordered Receiver reports...

2018-04-26 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1237 IMO, it is better not to report memory usage at all compared to reporting a wrong number. In case incoming batches are accumulated in a queue, they should be reported as owned by a receiver. Taking

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-26 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184586222 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unorderedreceiver/UnorderedReceiverBatch.java --- @@ -149,25 +149,32 @@ private

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-26 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184585959 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unorderedreceiver/UnorderedReceiverBatch.java --- @@ -149,25 +149,32 @@ private

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-26 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184585775 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unorderedreceiver/UnorderedReceiverBatch.java --- @@ -149,25 +149,32 @@ private

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-26 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184554299 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unorderedreceiver/UnorderedReceiverBatch.java --- @@ -149,25 +149,32 @@ private

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-26 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184558425 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unorderedreceiver/UnorderedReceiverBatch.java --- @@ -149,25 +149,32 @@ private

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-26 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184554436 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unorderedreceiver/UnorderedReceiverBatch.java --- @@ -149,25 +149,32 @@ private

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-26 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184559429 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unorderedreceiver/UnorderedReceiverBatch.java --- @@ -201,6 +208,11 @@ public

[GitHub] drill pull request #1225: DRILL-6272: Refactor dynamic UDFs and function ini...

2018-04-26 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1225#discussion_r184411700 --- Diff: exec/java-exec/pom.xml --- @@ -593,6 +593,48 @@ netty-tcnative ${netty.tcnative.classifier

[GitHub] drill pull request #1225: DRILL-6272: Refactor dynamic UDFs and function ini...

2018-04-26 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1225#discussion_r184245358 --- Diff: pom.xml --- @@ -798,7 +798,7 @@ com.googlecode.jmockit jmockit - 1.3 + 1.7 --- End diff

[GitHub] drill issue #1238: DRILL-6281: Refactor TimedRunnable

2018-04-26 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1238 There is not enough info available to debug and/or troubleshoot DRILL-5908 and I prefer instead of trying to find bugs in homegrown solution replace it with Java out of the box functionality

[GitHub] drill issue #1238: DRILL-6281: Refactor TimedRunnable

2018-04-26 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1238 I did not change how tasks (`Runnable` or `Callable`) behave and did not look into converting `Callable/Runnable` to a `ForkJoinTask`. Whether existing tasks can be scheduled recursively

[GitHub] drill issue #1238: DRILL-6281: Refactor TimedRunnable

2018-04-26 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1238 The step is necessary to do RCA for DRILL-5908. There are way too many issues with the current implementation to list them in JIRA or PR and the major issue is the usage of homegrown solutions where

[GitHub] drill issue #1189: DRILL-6282: Update Drill's Metrics dependencies

2018-04-25 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1189 LGTM ---

[GitHub] drill pull request #1189: DRILL-6282: Update Drill's Metrics dependencies

2018-04-25 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1189#discussion_r184243564 --- Diff: logical/pom.xml --- @@ -85,14 +85,12 @@ - com.codahale.metrics + io.dropwizard.metrics --- End

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-25 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184159218 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unorderedreceiver/UnorderedReceiverBatch.java --- @@ -153,8 +153,10 @@ private

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-25 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184156922 --- Diff: exec/memory/base/src/main/java/org/apache/drill/exec/memory/AllocationManager.java --- @@ -253,10 +261,12 @@ public boolean transferBalance(final

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-25 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184155724 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/record/RawFragmentBatch.java --- @@ -77,4 +83,46 @@ public long getByteCount() { public

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-25 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184154997 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/record/RawFragmentBatch.java --- @@ -77,4 +83,46 @@ public long getByteCount() { public

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-25 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184146733 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unorderedreceiver/UnorderedReceiverBatch.java --- @@ -182,13 +184,18 @@ public

[GitHub] drill issue #1189: DRILL-6282: Excluding io.dropwizard.metrics dependencies

2018-04-25 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1189 Please update JIRA, PR and commit titles and squash commits. ---

[GitHub] drill pull request #1189: DRILL-6282: Excluding io.dropwizard.metrics depend...

2018-04-25 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1189#discussion_r184144853 --- Diff: pom.xml --- @@ -1333,6 +1353,12 @@ + --- End diff -- I am not sure why

[GitHub] drill pull request #1189: DRILL-6282: Excluding io.dropwizard.metrics depend...

2018-04-25 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1189#discussion_r184144021 --- Diff: logical/pom.xml --- @@ -85,14 +85,12 @@ - com.codahale.metrics + io.dropwizard.metrics --- End

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-25 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184050305 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unorderedreceiver/UnorderedReceiverBatch.java --- @@ -182,13 +184,18 @@ public

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-25 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184085544 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unorderedreceiver/UnorderedReceiverBatch.java --- @@ -153,8 +153,10 @@ private

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-25 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184049558 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unorderedreceiver/UnorderedReceiverBatch.java --- @@ -201,6 +208,11 @@ public

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-25 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184070218 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/record/RawFragmentBatch.java --- @@ -77,4 +83,46 @@ public long getByteCount() { public

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-25 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184084128 --- Diff: exec/memory/base/src/main/java/org/apache/drill/exec/memory/AllocationManager.java --- @@ -253,10 +261,12 @@ public boolean transferBalance(final

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-25 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184075517 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/record/RawFragmentBatch.java --- @@ -77,4 +83,46 @@ public long getByteCount() { public

[GitHub] drill pull request #1237: DRILL-6348: Fixed code so that Unordered Receiver ...

2018-04-25 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1237#discussion_r184068798 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/unorderedreceiver/UnorderedReceiverBatch.java --- @@ -153,8 +153,10 @@ private

[GitHub] drill issue #1234: DRILL-5927: Fixed memory leak in TestBsonRecordReader, an...

2018-04-25 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1234 LGTM ---

[GitHub] drill pull request #1189: DRILL-6282: Excluding io.dropwizard.metrics depend...

2018-04-24 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1189#discussion_r183870299 --- Diff: pom.xml --- @@ -1333,6 +1353,12 @@ + --- End diff -- Where is the dependency used

[GitHub] drill pull request #1189: DRILL-6282: Excluding io.dropwizard.metrics depend...

2018-04-24 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1189#discussion_r183868650 --- Diff: pom.xml --- @@ -1164,7 +1164,27 @@ io.dropwizard.metrics metrics-core -4.0.2 +4.1.0

[GitHub] drill pull request #1234: DRILL-5927: Fixed memory leak in TestBsonRecordRea...

2018-04-24 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1234#discussion_r183865249 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/store/bson/TestBsonRecordReader.java --- @@ -45,21 +46,24 @@ import org.bson.BsonTimestamp

[GitHub] drill pull request #1234: DRILL-5927: Fixed memory leak in TestBsonRecordRea...

2018-04-24 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1234#discussion_r183779660 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/store/bson/TestBsonRecordReader.java --- @@ -49,17 +50,20 @@ import org.junit.BeforeClass

[GitHub] drill pull request #1234: DRILL-5927: Fixed memory leak in TestBsonRecordRea...

2018-04-24 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1234#discussion_r183747252 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/store/bson/TestBsonRecordReader.java --- @@ -272,6 +276,9 @@ public static void cleanUp

[GitHub] drill pull request #1234: DRILL-5927: Fixed memory leak in TestBsonRecordRea...

2018-04-24 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1234#discussion_r183741516 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/store/bson/TestBsonRecordReader.java --- @@ -49,17 +50,20 @@ import org.junit.BeforeClass

[GitHub] drill pull request #1238: DRILL-6281: Refactor TimedRunnable

2018-04-23 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1238#discussion_r183578626 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/FooterGatherer.java --- @@ -66,8 +69,8 @@ private static void checkMagicBytes

[GitHub] drill pull request #1144: DRILL-6202: Deprecate usage of IndexOutOfBoundsExc...

2018-04-23 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1144#discussion_r183571786 --- Diff: src/main/resources/checkstyle-config.xml --- @@ -30,10 +30,15 @@ + --- End diff -- IMO the same applies

[GitHub] drill pull request #1234: DRILL-5927: Fixed memory leak in TestBsonRecordRea...

2018-04-23 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1234#discussion_r183564004 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/store/bson/TestBsonRecordReader.java --- @@ -49,17 +50,20 @@ import org.junit.BeforeClass

[GitHub] drill pull request #1234: DRILL-5927: Fixed memory leak in TestBsonRecordRea...

2018-04-23 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1234#discussion_r183562766 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/store/bson/TestBsonRecordReader.java --- @@ -272,6 +276,9 @@ public static void cleanUp

[GitHub] drill pull request #1234: DRILL-5927: Fixed memory leak in TestBsonRecordRea...

2018-04-23 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1234#discussion_r183563218 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/store/bson/TestBsonRecordReader.java --- @@ -49,17 +50,20 @@ import org.junit.BeforeClass

[GitHub] drill issue #1235: DRILL-6336: Inconsistent method name.

2018-04-23 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1235 There is no need to expose implementation details as part of the class API. Whether `DebugStringBuilder` uses `PrintWriter.print()` or something else to implement `append()` must be hidden from

[GitHub] drill issue #1236: DRILL-6347: Inconsistent method name "field".

2018-04-23 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1236 IMO, neither `append` or `appendField` is a good choice (otherwise it is necessary to change `startNode/endNode` to `appendStart/EndNode`). It is either `field` or `visitField` and should follow

[GitHub] drill pull request #1238: DRILL-6281: Refactor TimedRunnable

2018-04-23 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1238#discussion_r183397526 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/TimedCallable.java --- @@ -0,0 +1,258 @@ +/* + * Licensed to the Apache Software

[GitHub] drill issue #1238: DRILL-6281: Refactor TimedRunnable

2018-04-22 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1238 @parthchandra Please review. Note to a committer: please do *not* squash commits. ---

[GitHub] drill pull request #1238: DRILL-6281: Refactor TimedRunnable

2018-04-22 Thread vrozov
GitHub user vrozov opened a pull request: https://github.com/apache/drill/pull/1238 DRILL-6281: Refactor TimedRunnable You can merge this pull request into a Git repository by running: $ git pull https://github.com/vrozov/drill DRILL-6281 Alternatively you can review

[GitHub] drill issue #1225: DRILL-6272: Refactor dynamic UDFs and function initialize...

2018-04-20 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1225 @arina-ielchiieva I don't see why using [maven embedder](http://maven.apache.org/ref/3.5.2/maven-embedder) is a less preferable option. Using maven it is possible to create source jars using

[GitHub] drill issue #1213: DRILL-6334: Minor code cleanup

2018-04-20 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1213 LGTM ---

[GitHub] drill pull request #1225: DRILL-6272: Refactor dynamic UDFs and function ini...

2018-04-19 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1225#discussion_r182902596 --- Diff: exec/java-exec/src/test/resources/udf/dynamic/CustomAbsFunctionTemplate --- @@ -0,0 +1,45 @@ +package org.apache.drill.udf.dynamic; --- End

[GitHub] drill pull request #1225: DRILL-6272: Refactor dynamic UDFs and function ini...

2018-04-19 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1225#discussion_r182902723 --- Diff: exec/java-exec/src/test/resources/udf/dynamic/CustomAbsFunctionTemplate --- @@ -0,0 +1,45 @@ +package org.apache.drill.udf.dynamic

[GitHub] drill pull request #1225: DRILL-6272: Refactor dynamic UDFs and function ini...

2018-04-19 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1225#discussion_r182902184 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/expr/fn/FunctionInitializerTest.java --- @@ -53,17 +56,27 @@ @Category

[GitHub] drill pull request #1224: DRILL-6321: Customize Drill's conformance. Allow s...

2018-04-19 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1224#discussion_r182874214 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/DrillConformance.java --- @@ -0,0 +1,43 @@ +/* + * Licensed to the Apache

[GitHub] drill pull request #1213: DRILL-6334: Minor code cleanup

2018-04-18 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1213#discussion_r182590683 --- Diff: exec/vector/src/test/java/org/apache/drill/exec/vector/VariableLengthVectorTest.java --- @@ -37,6 +37,7 @@ public void testSettingSameValueCount

[GitHub] drill pull request #1213: Minor code cleanup

2018-04-18 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1213#discussion_r182445689 --- Diff: exec/vector/src/test/java/org/apache/drill/exec/vector/VariableLengthVectorTest.java --- @@ -1,4 +1,4 @@ -/** +/* --- End diff

[GitHub] drill pull request #1213: Minor code cleanup

2018-04-18 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1213#discussion_r182440952 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/vector/complex/writer/TestPromotableWriter.java --- @@ -1,4 +1,4

[GitHub] drill pull request #1213: Minor code cleanup

2018-04-18 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1213#discussion_r182445146 --- Diff: exec/vector/src/main/java/org/apache/drill/exec/exception/OversizedAllocationException.java --- @@ -27,6 +27,7 @@ * {@link RecordBatch#next

[GitHub] drill pull request #1213: Minor code cleanup

2018-04-18 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1213#discussion_r182444596 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/vector/complex/writer/TestPromotableWriter.java --- @@ -33,6 +33,7 @@ public void list

[GitHub] drill pull request #1213: Minor code cleanup

2018-04-18 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1213#discussion_r182445595 --- Diff: exec/vector/src/main/java/org/apache/drill/exec/util/CallBack.java --- @@ -1,4 +1,4 @@ -/** +/* --- End diff -- The same

[GitHub] drill issue #1193: can drill support minio s3 storage

2018-04-17 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1193 Can one of PMCs request INFRA to close the PR? ---

[GitHub] drill issue #1196: DRILL-6286: Fixed incorrect reference to shutdown in dril...

2018-04-17 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1196 +1 ---

[GitHub] drill pull request #1215: DRILL-6338: Do not skip license maven plugin when ...

2018-04-17 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1215#discussion_r182259451 --- Diff: protocol/pom.xml --- @@ -149,8 +152,12 @@ com.mycila license-maven-plugin

[GitHub] drill issue #1208: DRILL-6295: PartitionerDecorator may close partitioners w...

2018-04-17 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1208 @parthchandra Please review ---

[GitHub] drill pull request #1213: Minor code cleanup

2018-04-16 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1213#discussion_r181932078 --- Diff: exec/vector/src/main/java/org/apache/drill/exec/exception/OversizedAllocationException.java --- @@ -1,4 +1,4 @@ -/** +/* --- End diff

[GitHub] drill pull request #1208: DRILL-6295: PartitionerDecorator may close partiti...

2018-04-16 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1208#discussion_r181927070 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionerDecorator.java --- @@ -262,68 +280,122 @@ public

[GitHub] drill pull request #1208: DRILL-6295: PartitionerDecorator may close partiti...

2018-04-16 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1208#discussion_r181926928 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionerTemplate.java --- @@ -161,8 +161,11 @@ public

[GitHub] drill pull request #1208: DRILL-6295: PartitionerDecorator may close partiti...

2018-04-16 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1208#discussion_r181865979 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionerDecorator.java --- @@ -118,105 +127,114 @@ public

[GitHub] drill issue #1207: DRILL-6320: Fixed License Headers

2018-04-13 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1207 LGTM, @ilooner please double check that Apache source distribution can be built with '-Drat.skip=false -Dlicense.skip=false': - build with `-P apache.release -Dgpg.skip=true` - extract

[GitHub] drill pull request #1207: DRILL-6320: Fixed License Headers

2018-04-13 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1207#discussion_r181434241 --- Diff: pom.xml --- @@ -198,6 +200,78 @@ + +org.apache.rat +apache-rat-plugin +0.12

[GitHub] drill pull request #1207: DRILL-6320: Fixed License Headers

2018-04-12 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1207#discussion_r181267547 --- Diff: pom.xml --- @@ -198,6 +200,78 @@ + +org.apache.rat +apache-rat-plugin +0.12

[GitHub] drill issue #1207: DRILL-6320: Fixed License Headers

2018-04-12 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1207 @arina-ielchiieva In Apex we use special git user Apex Dev `d...@apex.apache.org` to make format only changes. I'd recommend doing the same for Drill. ---

[GitHub] drill pull request #1207: DRILL-6320: Fixed License Headers

2018-04-12 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1207#discussion_r181197514 --- Diff: pom.xml --- @@ -198,6 +200,78 @@ + +org.apache.rat +apache-rat-plugin +0.12

[GitHub] drill pull request #1207: DRILL-6320: Fixed License Headers

2018-04-12 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1207#discussion_r181198668 --- Diff: pom.xml --- @@ -375,12 +449,12 @@ - com.mycila license-maven

[GitHub] drill pull request #1207: DRILL-6320: Fixed License Headers

2018-04-12 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1207#discussion_r181196340 --- Diff: pom.xml --- @@ -198,6 +200,78 @@ + +org.apache.rat +apache-rat-plugin +0.12

[GitHub] drill pull request #1207: DRILL-6320: Fixed License Headers

2018-04-12 Thread vrozov
Github user vrozov commented on a diff in the pull request: https://github.com/apache/drill/pull/1207#discussion_r181197234 --- Diff: pom.xml --- @@ -198,6 +200,78 @@ + +org.apache.rat +apache-rat-plugin +0.12

[GitHub] drill pull request #1208: DRILL-6295: PartitionerDecorator may close partiti...

2018-04-12 Thread vrozov
GitHub user vrozov opened a pull request: https://github.com/apache/drill/pull/1208 DRILL-6295: PartitionerDecorator may close partitioners while CustomRunnable are active during query cancellation @ilooner Please review You can merge this pull request into a Git repository

[GitHub] drill issue #1193: can drill support minio s3 storage

2018-04-12 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1193 @rongfengliang If you have a question regarding Drill ask it on `u...@drill.apache.org`. If you have something to contribute, please follow contributions guidelines to open a PR. ---

[GitHub] drill issue #1207: DRILL-6320: Fixed License Headers

2018-04-12 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1207 -1 on removing apache-rat maven plugin. It is an Apache plugin to invoke "Release Audit Tool". More plugins can be added to check license headers if they do a better job in addition to

[GitHub] drill issue #1202: DRILL-6311: No logging information in drillbit.log / dril...

2018-04-10 Thread vrozov
Github user vrozov commented on the issue: https://github.com/apache/drill/pull/1202 LGTM +1. ---

  1   2   3   4   >