[jira] [Created] (DRILL-5145) Planner causes exception due to Drill CTAS Parquet file

2016-12-20 Thread Paul Rogers (JIRA)
Paul Rogers created DRILL-5145: -- Summary: Planner causes exception due to Drill CTAS Parquet file Key: DRILL-5145 URL: https://issues.apache.org/jira/browse/DRILL-5145 Project: Apache Drill Issu

[jira] [Created] (DRILL-5144) Query with two identical windows produces incorrect results

2016-12-20 Thread Paul Rogers (JIRA)
Paul Rogers created DRILL-5144: -- Summary: Query with two identical windows produces incorrect results Key: DRILL-5144 URL: https://issues.apache.org/jira/browse/DRILL-5144 Project: Apache Drill

[jira] [Created] (DRILL-5143) Planner creates redundant sort for nested query on single fragment

2016-12-20 Thread Paul Rogers (JIRA)
Paul Rogers created DRILL-5143: -- Summary: Planner creates redundant sort for nested query on single fragment Key: DRILL-5143 URL: https://issues.apache.org/jira/browse/DRILL-5143 Project: Apache Drill

[jira] [Created] (DRILL-5142) TestWindowFrame.testUnboundedFollowing relies on side effects

2016-12-20 Thread Paul Rogers (JIRA)
Paul Rogers created DRILL-5142: -- Summary: TestWindowFrame.testUnboundedFollowing relies on side effects Key: DRILL-5142 URL: https://issues.apache.org/jira/browse/DRILL-5142 Project: Apache Drill

Re: Invoking UDF that doesn't have parameters without paranthesis

2016-12-20 Thread Jinfeng Ni
For function without parentheses, Calcite validator checks a SqlIdentifier against validator's operatorTable. If such identifier appears in the operatorTable, the SqlIdentifier is converted to a SqlCall. For your use case, you probably need add such function into operatorTable. You may follow Julia

[GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...

2016-12-20 Thread sudheeshkatkam
Github user sudheeshkatkam commented on a diff in the pull request: https://github.com/apache/drill/pull/685#discussion_r93307327 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserServer.java --- @@ -255,11 +257,12 @@ void disableReadTimeout() { g

Re: Invoking UDF that doesn't have parameters without paranthesis

2016-12-20 Thread Julian Hyde
I don’t think you need to change the parser, just the validator (the changes to SqlOperator.getSyntax I described already). The parser will parse an identifier, and the validator will recognize that it is a call to a function with no arguments. Unless Drill has diverged further from Calcite tha

Re: Invoking UDF that doesn't have parameters without paranthesis

2016-12-20 Thread Sudheesh Katkam
I do not know the exact answer. Quite likely the Calcite parser needs to be changed, this blob: https://github.com/apache/calcite/blob/master/core/src/main/codegen/templates/Parser.jj#L4765 Drill ex

[jira] [Resolved] (DRILL-5070) Code gen: create methods in fixed order to allow test verification

2016-12-20 Thread Paul Rogers (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-5070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Rogers resolved DRILL-5070. Resolution: Fixed Fix Version/s: 1.10 Key fix was incorporated into DRILL-5052. > Code gen:

[GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...

2016-12-20 Thread nagarajanchinnasamy
Github user nagarajanchinnasamy commented on a diff in the pull request: https://github.com/apache/drill/pull/685#discussion_r93267919 --- Diff: protocol/src/main/protobuf/UserBitShared.proto --- @@ -320,3 +320,17 @@ message Jar { repeated string function_signature = 2;

[GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...

2016-12-20 Thread nagarajanchinnasamy
Github user nagarajanchinnasamy commented on a diff in the pull request: https://github.com/apache/drill/pull/685#discussion_r93267316 --- Diff: protocol/src/main/protobuf/UserBitShared.proto --- @@ -320,3 +320,17 @@ message Jar { repeated string function_signature = 2;

[GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...

2016-12-20 Thread nagarajanchinnasamy
Github user nagarajanchinnasamy commented on a diff in the pull request: https://github.com/apache/drill/pull/685#discussion_r93267171 --- Diff: protocol/src/main/protobuf/UserBitShared.proto --- @@ -320,3 +320,17 @@ message Jar { repeated string function_signature = 2;

[GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...

2016-12-20 Thread nagarajanchinnasamy
Github user nagarajanchinnasamy commented on a diff in the pull request: https://github.com/apache/drill/pull/685#discussion_r93266381 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserServer.java --- @@ -255,11 +257,12 @@ void disableReadTimeout() {

[jira] [Created] (DRILL-5141) Difference in output date format on sqlline vs Drill's Web UI

2016-12-20 Thread Khurram Faraaz (JIRA)
Khurram Faraaz created DRILL-5141: - Summary: Difference in output date format on sqlline vs Drill's Web UI Key: DRILL-5141 URL: https://issues.apache.org/jira/browse/DRILL-5141 Project: Apache Drill

[jira] [Created] (DRILL-5140) CTAS that does SELECT over 5003 columns fails with CompileException

2016-12-20 Thread Khurram Faraaz (JIRA)
Khurram Faraaz created DRILL-5140: - Summary: CTAS that does SELECT over 5003 columns fails with CompileException Key: DRILL-5140 URL: https://issues.apache.org/jira/browse/DRILL-5140 Project: Apache D

[GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...

2016-12-20 Thread arina-ielchiieva
Github user arina-ielchiieva commented on a diff in the pull request: https://github.com/apache/drill/pull/685#discussion_r93205496 --- Diff: protocol/src/main/protobuf/UserBitShared.proto --- @@ -320,3 +320,17 @@ message Jar { repeated string function_signature = 2; }

[GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...

2016-12-20 Thread arina-ielchiieva
Github user arina-ielchiieva commented on a diff in the pull request: https://github.com/apache/drill/pull/685#discussion_r93205867 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/ops/ContextInformation.java --- @@ -28,12 +29,14 @@ private final String currentD

[GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...

2016-12-20 Thread arina-ielchiieva
Github user arina-ielchiieva commented on a diff in the pull request: https://github.com/apache/drill/pull/685#discussion_r93206354 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserServer.java --- @@ -255,11 +257,12 @@ void disableReadTimeout() {

[GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...

2016-12-20 Thread arina-ielchiieva
Github user arina-ielchiieva commented on a diff in the pull request: https://github.com/apache/drill/pull/685#discussion_r93206188 --- Diff: protocol/src/main/protobuf/UserBitShared.proto --- @@ -320,3 +320,17 @@ message Jar { repeated string function_signature = 2; }

[GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...

2016-12-20 Thread arina-ielchiieva
Github user arina-ielchiieva commented on a diff in the pull request: https://github.com/apache/drill/pull/685#discussion_r93207023 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserServer.java --- @@ -255,11 +257,12 @@ void disableReadTimeout() {

[GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...

2016-12-20 Thread arina-ielchiieva
Github user arina-ielchiieva commented on a diff in the pull request: https://github.com/apache/drill/pull/685#discussion_r93208334 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserServer.java --- @@ -255,11 +257,12 @@ void disableReadTimeout() {

[GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...

2016-12-20 Thread arina-ielchiieva
Github user arina-ielchiieva commented on a diff in the pull request: https://github.com/apache/drill/pull/685#discussion_r93206705 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserSession.java --- @@ -97,6 +101,14 @@ public Builder withUserProperties(UserP

[GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...

2016-12-20 Thread arina-ielchiieva
Github user arina-ielchiieva commented on a diff in the pull request: https://github.com/apache/drill/pull/685#discussion_r93206853 --- Diff: protocol/src/main/protobuf/UserBitShared.proto --- @@ -320,3 +320,17 @@ message Jar { repeated string function_signature = 2; }

[GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...

2016-12-20 Thread arina-ielchiieva
Github user arina-ielchiieva commented on a diff in the pull request: https://github.com/apache/drill/pull/685#discussion_r93209088 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserServer.java --- @@ -343,10 +346,10 @@ public BitToUserHandshake getHandshak

[GitHub] drill pull request #685: Drill 5043: Function that returns a unique id per s...

2016-12-20 Thread arina-ielchiieva
Github user arina-ielchiieva commented on a diff in the pull request: https://github.com/apache/drill/pull/685#discussion_r93206036 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserSession.java --- @@ -160,6 +173,14 @@ public int getQueryCount() {

[jira] [Resolved] (DRILL-1808) Large compilation unit tests fails due to high memory allocation

2016-12-20 Thread Serhii Harnyk (JIRA)
[ https://issues.apache.org/jira/browse/DRILL-1808?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Serhii Harnyk resolved DRILL-1808. -- Resolution: Duplicate Fix Version/s: (was: Future) 1.10.0 Fixed in

[jira] [Created] (DRILL-5139) select array list column - mongodb

2016-12-20 Thread yousuf uddin (JIRA)
yousuf uddin created DRILL-5139: --- Summary: select array list column - mongodb Key: DRILL-5139 URL: https://issues.apache.org/jira/browse/DRILL-5139 Project: Apache Drill Issue Type: Bug Aff