[GitHub] drill pull request: Drill 4484: NPE when querying empty directory

2016-03-10 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/424#discussion_r55780247 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java --- @@ -547,29 +559,72 @@ public long getRowCount

[GitHub] drill pull request: DRILL-4476: Allow UnionAllRecordBatch to manag...

2016-03-10 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/407#issuecomment-195138369 Updated changes LGTM. +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not

[GitHub] drill pull request: DRILL-4476: Allow UnionAllRecordBatch to manag...

2016-03-10 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/407#discussion_r55779800 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionAllRecordBatch.java --- @@ -294,13 +313,41 @@ public UnionAllInput

[GitHub] drill pull request: DRILL-4476: Allow UnionAllRecordBatch to manag...

2016-03-10 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/407#discussion_r55749381 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionAllRecordBatch.java --- @@ -162,6 +162,25 @@ private IterOutcome

[GitHub] drill pull request: DRILL-4476: Allow UnionAllRecordBatch to manag...

2016-03-09 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/407#discussion_r55561579 --- Diff: exec/java-exec/src/test/java/org/apache/drill/TestUnionAll.java --- @@ -527,6 +532,52 @@ public void testUnionAllRightEmptyJson() throws

[GitHub] drill pull request: DRILL-4476: Allow UnionAllRecordBatch to manag...

2016-03-09 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/407#discussion_r55561188 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionAllRecordBatch.java --- @@ -294,13 +313,41 @@ public UnionAllInput

[GitHub] drill pull request: DRILL-4476: Allow UnionAllRecordBatch to manag...

2016-03-09 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/407#discussion_r9565 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionAllRecordBatch.java --- @@ -491,6 +556,25 @@ private void

[GitHub] drill pull request: DRILL-4476: Allow UnionAllRecordBatch to manag...

2016-03-09 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/407#discussion_r8287 --- Diff: exec/java-exec/src/test/java/org/apache/drill/TestUnionAll.java --- @@ -527,6 +532,52 @@ public void testUnionAllRightEmptyJson() throws

[GitHub] drill pull request: DRILL-4476: Allow UnionAllRecordBatch to manag...

2016-03-09 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/407#discussion_r7460 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionAllRecordBatch.java --- @@ -162,6 +162,25 @@ private IterOutcome

[GitHub] drill pull request: DRILL-4479: Use varchar for default column whe...

2016-03-08 Thread amansinha100
GitHub user amansinha100 opened a pull request: https://github.com/apache/drill/pull/420 DRILL-4479: Use varchar for default column when all_text_mode is enab… …led. You can merge this pull request into a Git repository by running: $ git pull https://github.com

[GitHub] drill pull request: DRILL-4474: Ensure that ConvertCountToDirectSc...

2016-03-08 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/416#issuecomment-194042039 Overall, LGTM. +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] drill pull request: DRILL-4474: Ensure that ConvertCountToDirectSc...

2016-03-08 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/406#issuecomment-193971973 Agree with @jinfengni that the current fix can cause performance regression for simpler count queries. I will change my review to -1 and let's see how to ge

[GitHub] drill pull request: DRILL-4487: add unit test for DRILL-4449

2016-03-08 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/414#issuecomment-193960370 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] drill pull request: DRILL-4474: Use varchar for default column whe...

2016-03-08 Thread amansinha100
Github user amansinha100 closed the pull request at: https://github.com/apache/drill/pull/415 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] drill pull request: DRILL-4474: Use varchar for default column whe...

2016-03-08 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/415#issuecomment-193901238 oops ... sorry, closing this and will reopen against the correct JIRA. --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] drill pull request: DRILL-4474: Use varchar for default column whe...

2016-03-08 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/415#issuecomment-193882461 Yes, I can do that. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have

[GitHub] drill pull request: DRILL-4474: Use varchar for default column whe...

2016-03-08 Thread amansinha100
GitHub user amansinha100 opened a pull request: https://github.com/apache/drill/pull/415 DRILL-4474: Use varchar for default column when all_text_mode is enab… …led. You can merge this pull request into a Git repository by running: $ git pull https://github.com

[GitHub] drill pull request: DRILL-4474: Ensure that ConvertCountToDirectSc...

2016-03-04 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/406#issuecomment-192531157 +1. Yes, seems like the project was not being checked at all and the nullability check did not work for expressions inside the count aggregate. --- If your

[GitHub] drill pull request: DRILL-4449: Wrong results when metadata cache ...

2016-03-04 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/392#issuecomment-192361296 +1. I understand based on conversation with @adeneche (before he went on vacation) that he could not easily repro through a unit test. However, functional

[GitHub] drill pull request: Drill 4372 review

2016-03-02 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/397#discussion_r54690939 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/TypeInferenceUtils.java --- @@ -0,0 +1,571 @@ +/** + * Licensed to the

[GitHub] drill pull request: Drill 4372 review

2016-03-01 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/397#discussion_r54689413 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillFunctionRegistry.java --- @@ -92,38 +94,110 @@ public DrillFunctionRegistry

[GitHub] drill pull request: Drill 4372 review

2016-03-01 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/397#discussion_r54688304 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillFunctionRegistry.java --- @@ -92,38 +94,110 @@ public DrillFunctionRegistry

[GitHub] drill pull request: DRILL-4387: GroupScan or ScanBatchCreator shou...

2016-02-18 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/379#issuecomment-185934019 LGTM +1. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] drill pull request: DRILL-4387: GroupScan or ScanBatchCreator shou...

2016-02-18 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/379#discussion_r53386823 --- Diff: contrib/storage-hbase/src/main/java/org/apache/drill/exec/store/hbase/HBaseGroupScan.java --- @@ -34,6 +34,7 @@ import

[GitHub] drill pull request: DRILL-4387: GroupScan or ScanBatchCreator shou...

2016-02-18 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/379#discussion_r53340898 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetScanBatchCreator.java --- @@ -87,9 +87,6 @@ public ScanBatch getBatch

[GitHub] drill pull request: DRILL-4387: GroupScan or ScanBatchCreator shou...

2016-02-18 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/379#discussion_r53335185 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/GroupScan.java --- @@ -35,6 +35,8 @@ public interface GroupScan extends

[GitHub] drill pull request: DRILL-4287: During initial DrillTable creation...

2016-02-16 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/376#issuecomment-185074140 Simplified the state management in FileSelection. @jacques-n is this close enough to what you intended ? Also, want to note that this JIRA is motivated by a

[GitHub] drill pull request: DRILL-4287: During initial DrillTable creation...

2016-02-16 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/376#discussion_r53120105 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/FileSelection.java --- @@ -47,6 +49,14 @@ public List files; public

[GitHub] drill pull request: DRILL-4287: During initial DrillTable creation...

2016-02-16 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/376#issuecomment-184848577 Updated PR after addressing review comment from @jacques-n --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as

[GitHub] drill pull request: DRILL-4287: During initial DrillTable creation...

2016-02-16 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/376#discussion_r53056521 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java --- @@ -529,6 +549,36 @@ public long getRowCount

[GitHub] drill pull request: DRILL-4287: During initial DrillTable creation...

2016-02-16 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/376#discussion_r53047947 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/FileSelection.java --- @@ -68,6 +79,7 @@ protected FileSelection(final

[GitHub] drill pull request: DRILL-4287: During initial DrillTable creation...

2016-02-15 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/376#issuecomment-184481180 I have incorporated the review comments and updated the PR. Please take a look when you get a chance. --- If your project is set up for it, you can reply to this

[GitHub] drill pull request: DRILL-4287: During initial DrillTable creation...

2016-02-14 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/376#discussion_r52864208 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/FileSelection.java --- @@ -45,6 +48,10 @@ public List files; public

[GitHub] drill pull request: DRILL-4287: During initial DrillTable creation...

2016-02-14 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/376#discussion_r52864039 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/FileSystemPartitionDescriptor.java --- @@ -157,7 +159,20 @@ private String

[GitHub] drill pull request: DRILL-4287: During initial DrillTable creation...

2016-02-14 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/345#issuecomment-183933804 Closing this PR in favor of updated one #376 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If

[GitHub] drill pull request: DRILL-4287: During initial DrillTable creation...

2016-02-14 Thread amansinha100
Github user amansinha100 closed the pull request at: https://github.com/apache/drill/pull/345 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] drill pull request: DRILL-4287: During initial DrillTable creation...

2016-02-14 Thread amansinha100
GitHub user amansinha100 opened a pull request: https://github.com/apache/drill/pull/376 DRILL-4287: During initial DrillTable creation don't read the metadat… …a cache file; instead do it during ParquetGroupScan. Maintain state in FileSelection to keep track of wh

[GitHub] drill pull request: DRILL-4363: Row count based pruning for parque...

2016-02-11 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/371#issuecomment-183125598 Updated patch looks good to me. +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project

[GitHub] drill pull request: Drill 4260: Adding support for "some" custom f...

2016-02-11 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/340#issuecomment-183070887 +1. I gave a couple of comments; overall LGTM. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If

[GitHub] drill pull request: Drill 4260: Adding support for "some" custom f...

2016-02-11 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/340#discussion_r52672160 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/window/TestWindowFrame.java --- @@ -106,6 +106,60 @@ public void

[GitHub] drill pull request: DRILL-4363: Row count based pruning for parque...

2016-02-10 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/371#discussion_r52563417 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java --- @@ -791,6 +799,43 @@ public FileGroupScan clone

[GitHub] drill pull request: DRILL-4363: Row count based pruning for parque...

2016-02-10 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/371#discussion_r52558347 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java --- @@ -791,6 +799,43 @@ public FileGroupScan clone

[GitHub] drill pull request: DRILL-4363: Row count based pruning for parque...

2016-02-10 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/371#discussion_r52557443 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/DrillPushLimitToScanRule.java --- @@ -0,0 +1,108

[GitHub] drill pull request: DRILL-4363: Row count based pruning for parque...

2016-02-10 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/371#discussion_r52557262 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractGroupScan.java --- @@ -128,4 +128,12 @@ public int getOperatorType

[GitHub] drill pull request: Drill 4260: Adding support for "some" custom f...

2016-02-08 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/340#discussion_r52186222 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/WindowPOP.java --- @@ -33,26 +35,29 @@ private final NamedExpression

[GitHub] drill pull request: Drill 4260: Adding support for "some" custom f...

2016-02-08 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/340#discussion_r52185980 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/window/FrameSupportTemplate.java --- @@ -134,44 +142,67 @@ private void

[GitHub] drill pull request: DRILL-4287: During initial DrillTable creation...

2016-02-01 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/345#discussion_r51528494 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java --- @@ -338,8 +354,14 @@ private boolean hasSingleValue

[GitHub] drill pull request: DRILL-4287: During initial DrillTable creation...

2016-02-01 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/345#discussion_r51528367 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/FileSelection.java --- @@ -118,13 +133,34 @@ public boolean apply(@Nullable

[GitHub] drill pull request: Drill 4313 - Improve method of picking a rando...

2016-01-28 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/346#issuecomment-17653 +1. LGTM. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this

[GitHub] drill pull request: DRILL-4287: During initial DrillTable creation...

2016-01-28 Thread amansinha100
GitHub user amansinha100 opened a pull request: https://github.com/apache/drill/pull/345 DRILL-4287: During initial DrillTable creation don't read the metadat… …a cache file; instead do it during ParquetGroupScan. Maintain state in FileSelection to keep track of wh

[GitHub] drill pull request: Drill 2517: Apply directory-based partition pr...

2016-01-24 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/328#issuecomment-174415824 Revised patch looks good to me..other than a few minor comments. +1. --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] drill pull request: Drill 2517: Apply directory-based partition pr...

2016-01-24 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/328#discussion_r50657159 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/partition/PruneScanRule.java --- @@ -382,5 +381,28 @@ protected

[GitHub] drill pull request: Drill 2517: Apply directory-based partition pr...

2016-01-24 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/328#discussion_r50656611 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/FileSystemPartitionDescriptor.java --- @@ -82,11 +101,19 @@ public int

[GitHub] drill pull request: Drill 2517: Apply directory-based partition pr...

2016-01-20 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/328#discussion_r50302251 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/FileSystemPartitionDescriptor.java --- @@ -84,9 +99,17 @@ public int

[GitHub] drill pull request: Drill 2517: Apply directory-based partition pr...

2016-01-20 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/328#discussion_r50300305 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/partition/PruneScanRule.java --- @@ -78,71 +94,68 @@ public PruneScanRule

[GitHub] drill pull request: DRILL-4270: Create a separate WindowFramer tha...

2016-01-18 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/322#issuecomment-172619347 Renaming sounds fine to avoid misinterpretation. +1. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as

[GitHub] drill pull request: DRILL-4270: Create a separate WindowFramer tha...

2016-01-15 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/322#issuecomment-172038682 Overall refactoring looks ok. One thing that needs some clarity: Is the definition of default frame 'between unbounded preceding and current row' ? If

[GitHub] drill pull request: DRILL-3845: PartitionSender doesn't send last ...

2016-01-14 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/319#issuecomment-171842104 +1 . For functional testing we should try to have a similar scenario with skew in the data for the build side of the HashJoin such that some minor fragments get 0

[GitHub] drill pull request: DRILL-3845: PartitionSender doesn't send last ...

2016-01-14 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/319#discussion_r49780505 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionerTemplate.java --- @@ -286,7 +286,7 @@ public void

[GitHub] drill pull request: DRILL-4174: fix for DRILL-4081 mistakenly regr...

2016-01-08 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/320#issuecomment-170177833 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] drill pull request: DRILL-4250: Fix directory-based partition prun...

2016-01-07 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/318#issuecomment-169842524 +1 . --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] drill pull request: DRILL-4201 : Allow partial filter to be pushed...

2015-12-17 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/305#issuecomment-165635050 +1 LGTM. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] drill pull request: DRILL-4194: Improve the performance of metadat...

2015-12-14 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/301#issuecomment-164649823 +1 for the DRILL-4194 patch. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] drill pull request: DRILL-4147: Change UnionPrel's DrillDistributi...

2015-12-09 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/288#discussion_r47124992 --- Diff: exec/java-exec/src/test/java/org/apache/drill/TestUnionAll.java --- @@ -899,4 +900,35 @@ public void testUnionAllInWith() throws Exception

[GitHub] drill pull request: DRILL-4146: Concurrent queries hang in planner...

2015-11-30 Thread amansinha100
GitHub user amansinha100 opened a pull request: https://github.com/apache/drill/pull/285 DRILL-4146: Concurrent queries hang in planner. Fix is in Calcite (C… …ALCITE-874). You can merge this pull request into a Git repository by running: $ git pull https://github.com

[GitHub] drill pull request: DRILL-4119: Modify hash32 functions to combine...

2015-11-23 Thread amansinha100
GitHub user amansinha100 opened a pull request: https://github.com/apache/drill/pull/279 DRILL-4119: Modify hash32 functions to combine the msb and lsb bytes … …of a 64-bit hash value (previously, we were casting to integer). - Use this new set of functions (for all

[GitHub] drill pull request: DRILL-3765: Move partitioning pruning to HepPl...

2015-11-16 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/255#discussion_r44988307 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/DrillSqlWorker.java --- @@ -116,20 +117,32 @@ public DrillSqlWorker

[GitHub] drill pull request: DRILL-3765: Move partitioning pruning to HepPl...

2015-11-16 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/255#discussion_r44964325 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/DrillSqlWorker.java --- @@ -116,20 +117,32 @@ public DrillSqlWorker

[GitHub] drill pull request: DRILL-3634: Add number of partitions informati...

2015-11-04 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/231#issuecomment-153791070 I had 1 question about the upper limit on the numPartitions but changes look good overall. +1. --- If your project is set up for it, you can reply to this

[GitHub] drill pull request: DRILL-3634: Add number of partitions informati...

2015-11-04 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/231#discussion_r43906151 --- Diff: contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveScan.java --- @@ -87,6 +87,9 @@ @JsonProperty("co

[GitHub] drill pull request: DRILL-3941: Add timing instrumentation in diff...

2015-11-04 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/230#issuecomment-153780284 +1. LGTM. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this

[GitHub] drill pull request: Drill 3952

2015-11-03 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/222#issuecomment-153504706 +1. Per previous comments, there is room for improvement in terms of code organization and reducing the number of passes which I understand will be covered by

[GitHub] drill pull request: Drill 3952

2015-11-03 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/222#discussion_r43789532 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/window/WindowFramer.java --- @@ -38,19 +40,33 @@ void setup(final List

[GitHub] drill pull request: DRILL-3941: Add timing instrumentation in diff...

2015-11-02 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/230#discussion_r43706257 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/partition/PruneScanRule.java --- @@ -166,16 +174,28 @@ protected void

[GitHub] drill pull request: DRILL-3941: Add timing instrumentation in diff...

2015-11-02 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/230#discussion_r43706195 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/Metadata.java --- @@ -163,7 +163,9 @@ private ParquetTableMetadata_v1

[GitHub] drill pull request: Drill 3952

2015-11-01 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/222#issuecomment-152853864 Overall, there are 2 categories of the window functions: one that require all batches of the partition before they can start processing and second that can start

[GitHub] drill pull request: Drill 3952

2015-11-01 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/222#discussion_r43586353 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/window/DefaultFrameTemplate.java --- @@ -287,6 +318,36 @@ private int

[GitHub] drill pull request: Drill 3952

2015-11-01 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/222#discussion_r43586273 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/window/DefaultFrameTemplate.java --- @@ -287,6 +318,36 @@ private int

[GitHub] drill pull request: Drill 3952

2015-11-01 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/222#discussion_r43586223 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/window/DefaultFrameTemplate.java --- @@ -287,6 +318,36 @@ private int

[GitHub] drill pull request: DRILL-3937: Handle the case where min/max colu...

2015-10-27 Thread amansinha100
GitHub user amansinha100 opened a pull request: https://github.com/apache/drill/pull/220 DRILL-3937: Handle the case where min/max columns in metadata cache f… …ile are Maps. You can merge this pull request into a Git repository by running: $ git pull https://github.com

[GitHub] drill pull request: DRILL-3802: Throw unsupported error for Rollup...

2015-10-19 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/209#issuecomment-149369397 Gave one minor comment; rest of the changes look good to me. +1 --- If your project is set up for it, you can reply to this email and have your reply appear on

[GitHub] drill pull request: DRILL-3802: Throw unsupported error for Rollup...

2015-10-19 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/209#discussion_r42435960 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/parser/UnsupportedOperatorsVisitor.java --- @@ -305,6 +313,105 @@ public

[GitHub] drill pull request: DRILL-3947: Use setSafe() for date, time, time...

2015-10-19 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/208#issuecomment-149257300 @zfong, please see my last explanation about why the repro does not occur at small scale. Hence, adding a unit test won't help ... unless the static constant

[GitHub] drill pull request: DRILL-3947: Use setSafe() for date, time, time...

2015-10-19 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/208#issuecomment-149123146 @mehant , yes the underlying issue is simple: the null bit vector for the NullableDateVector is allocated at 4096 bytes (actually, the UInt1Vector is used for this

[GitHub] drill pull request: DRILL-3947: Use setSafe() for date, time, time...

2015-10-18 Thread amansinha100
GitHub user amansinha100 opened a pull request: https://github.com/apache/drill/pull/208 DRILL-3947: Use setSafe() for date, time, timestamp types while popul… …ating pruning vector (other types were already using setSafe). You can merge this pull request into a Git repository

[GitHub] drill pull request: DRILL-3918: During expansion save the metadata...

2015-10-11 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/196#discussion_r41713896 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/dfs/FileSelection.java --- @@ -44,6 +45,10 @@ public List files; public

[GitHub] drill pull request: DRILL-3918: During expansion save the metadata...

2015-10-11 Thread amansinha100
GitHub user amansinha100 opened a pull request: https://github.com/apache/drill/pull/196 DRILL-3918: During expansion save the metadata for future use. You can merge this pull request into a Git repository by running: $ git pull https://github.com/amansinha100/incubator-drill

[GitHub] drill pull request: DRILL-3917: During file selection expansion, g...

2015-10-10 Thread amansinha100
GitHub user amansinha100 opened a pull request: https://github.com/apache/drill/pull/195 DRILL-3917: During file selection expansion, get the metadata for the… … directory by reading the metadata file. Ensure the selection root format is the same as the format of the

[GitHub] drill pull request: Parquet meta

2015-10-02 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/186#discussion_r41053297 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java --- @@ -716,6 +726,7 @@ public String toString

[GitHub] drill pull request: Parquet meta

2015-10-02 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/186#discussion_r41035620 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java --- @@ -716,6 +726,7 @@ public String toString

[GitHub] drill pull request: DRILL-3884: Fix lower parallelization issues w...

2015-10-01 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/185#issuecomment-144884113 +1 LGTM. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] drill pull request: DRILL-3884: Fix lower parallelization issues w...

2015-10-01 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/185#discussion_r40981727 --- Diff: contrib/storage-hive/core/src/main/java/org/apache/drill/exec/store/hive/HiveScan.java --- @@ -319,16 +319,12 @@ public ScanStats getScanStats

[GitHub] drill pull request: Refresh metadata bugs 1

2015-09-30 Thread amansinha100
GitHub user amansinha100 opened a pull request: https://github.com/apache/drill/pull/179 Refresh metadata bugs 1 This PR is a combination of 3 issues that are directly or indirectly related to the metadata caching. You can merge this pull request into a Git repository by running

[GitHub] drill pull request: DRILL-3257: Disable FilterSetOpTransposeRule, ...

2015-09-29 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/176#discussion_r40715318 --- Diff: exec/java-exec/src/test/java/org/apache/drill/TestUnionAll.java --- @@ -542,7 +542,9 @@ public void testFilterPushDownOverUnionAll() throws

[GitHub] drill pull request: DRILL-3257: Disable FilterSetOpTransposeRule, ...

2015-09-29 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/176#discussion_r40715222 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/DrillRuleSets.java --- @@ -133,7 +133,7 @@ public static RuleSet

[GitHub] drill pull request: Drill 2274: Unable to allocate sv2 buffer afte...

2015-09-28 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/172#issuecomment-143879844 +1 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature

[GitHub] drill pull request: Drill 2274: Unable to allocate sv2 buffer afte...

2015-09-28 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/172#discussion_r40605696 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/xsort/ExternalSortBatch.java --- @@ -615,11 +608,18 @@ private

[GitHub] drill pull request: DRILL-3596: Allow only () or (

2015-09-27 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/128#issuecomment-143563550 +1. This review request somehow slipped through the cracks. Sorry about that. --- If your project is set up for it, you can reply to this email and have your

[GitHub] drill pull request: DRILL-1457: Push Limit past through UnionExcha...

2015-09-25 Thread amansinha100
Github user amansinha100 commented on the pull request: https://github.com/apache/drill/pull/169#issuecomment-143380757 +1 LGTM. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this

[GitHub] drill pull request: DRILL-1457: Push Limit past through UnionExcha...

2015-09-25 Thread amansinha100
Github user amansinha100 commented on a diff in the pull request: https://github.com/apache/drill/pull/169#discussion_r40445053 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/limit/TestLimitWithExchanges.java --- @@ -26,4 +30,34 @@ public void

<    1   2   3   4   5   6   >