drill git commit: DRILL-2943: Parse uppercase 'E' for scientific notation.
Repository: drill Updated Branches: refs/heads/master b22ab2437 - f240ac2a3 DRILL-2943: Parse uppercase 'E' for scientific notation. Project: http://git-wip-us.apache.org/repos/asf/drill/repo Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/f240ac2a Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/f240ac2a Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/f240ac2a Branch: refs/heads/master Commit: f240ac2a353efb420dadc4bee8e6aae8df2937f1 Parents: b22ab24 Author: Aman Sinha asi...@maprtech.com Authored: Sun May 3 11:09:19 2015 -0700 Committer: Aman Sinha asi...@maprtech.com Committed: Sun May 3 13:28:06 2015 -0700 -- .../org/apache/drill/common/expression/parser/ExprLexer.g | 2 +- .../java/org/apache/drill/exec/expr/ExpressionTest.java | 10 ++ 2 files changed, 11 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/drill/blob/f240ac2a/common/src/main/antlr3/org/apache/drill/common/expression/parser/ExprLexer.g -- diff --git a/common/src/main/antlr3/org/apache/drill/common/expression/parser/ExprLexer.g b/common/src/main/antlr3/org/apache/drill/common/expression/parser/ExprLexer.g index 604b397..a881b5c 100644 --- a/common/src/main/antlr3/org/apache/drill/common/expression/parser/ExprLexer.g +++ b/common/src/main/antlr3/org/apache/drill/common/expression/parser/ExprLexer.g @@ -95,7 +95,7 @@ Bool ; Number - : Int ('.' Digit*)? ('e' ('+' | '-')? Digit*)? + : Int ('.' Digit*)? (('e' | 'E') ('+' | '-')? Digit*)? ; //Float http://git-wip-us.apache.org/repos/asf/drill/blob/f240ac2a/exec/java-exec/src/test/java/org/apache/drill/exec/expr/ExpressionTest.java -- diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/expr/ExpressionTest.java b/exec/java-exec/src/test/java/org/apache/drill/exec/expr/ExpressionTest.java index dd14106..239a099 100644 --- a/exec/java-exec/src/test/java/org/apache/drill/exec/expr/ExpressionTest.java +++ b/exec/java-exec/src/test/java/org/apache/drill/exec/expr/ExpressionTest.java @@ -62,6 +62,16 @@ public class ExpressionTest extends ExecTest { } @Test + public void testExprParseUpperExponent(@Injectable RecordBatch batch) throws Exception { +getExpressionCode(multiply(`$f0`, 1.0E-4), batch); + } + + @Test + public void testExprParseLowerExponent(@Injectable RecordBatch batch) throws Exception { +getExpressionCode(multiply(`$f0`, 1.0e-4), batch); + } + + @Test public void testSpecial(final @Injectable RecordBatch batch, @Injectable ValueVector vector) throws Exception { final TypedFieldId tfid = new TypedFieldId(Types.optional(MinorType.INT), false, 0);
drill git commit: Commit 0.9.0 release version.
Repository: drill Updated Branches: refs/heads/0.9.0 [created] 10833d2ca Commit 0.9.0 release version. Project: http://git-wip-us.apache.org/repos/asf/drill/repo Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/10833d2c Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/10833d2c Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/10833d2c Branch: refs/heads/0.9.0 Commit: 10833d2cae9f5312cf0e31f8c9f3f8a9dcdc0c45 Parents: f8a91f1 Author: Jacques Nadeau jacq...@apache.org Authored: Sun May 3 11:56:56 2015 -0700 Committer: Jacques Nadeau jacq...@apache.org Committed: Sun May 3 11:56:56 2015 -0700 -- common/pom.xml | 2 +- contrib/data/pom.xml | 2 +- contrib/data/tpch-sample-data/pom.xml| 2 +- contrib/data/window-test-data/pom.xml| 2 +- contrib/pom.xml | 2 +- contrib/sqlline/pom.xml | 2 +- contrib/storage-hbase/pom.xml| 2 +- contrib/storage-hive/core/pom.xml| 2 +- contrib/storage-hive/hive-exec-shade/pom.xml | 2 +- contrib/storage-hive/pom.xml | 2 +- contrib/storage-mongo/pom.xml| 2 +- distribution/pom.xml | 2 +- exec/java-exec/pom.xml | 2 +- exec/jdbc-all/pom.xml| 2 +- exec/jdbc/pom.xml| 2 +- exec/pom.xml | 2 +- pom.xml | 2 +- protocol/pom.xml | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) -- http://git-wip-us.apache.org/repos/asf/drill/blob/10833d2c/common/pom.xml -- diff --git a/common/pom.xml b/common/pom.xml index 2ca629b..14bd497 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -21,7 +21,7 @@ parent artifactIddrill-root/artifactId groupIdorg.apache.drill/groupId -version0.9.0-SNAPSHOT/version +version0.9.0/version /parent artifactIddrill-common/artifactId http://git-wip-us.apache.org/repos/asf/drill/blob/10833d2c/contrib/data/pom.xml -- diff --git a/contrib/data/pom.xml b/contrib/data/pom.xml index 6cb7319..b4e675f 100644 --- a/contrib/data/pom.xml +++ b/contrib/data/pom.xml @@ -20,7 +20,7 @@ parent artifactIddrill-contrib-parent/artifactId groupIdorg.apache.drill.contrib/groupId -version0.9.0-SNAPSHOT/version +version0.9.0/version /parent groupIdorg.apache.drill.contrib.data/groupId http://git-wip-us.apache.org/repos/asf/drill/blob/10833d2c/contrib/data/tpch-sample-data/pom.xml -- diff --git a/contrib/data/tpch-sample-data/pom.xml b/contrib/data/tpch-sample-data/pom.xml index bd833df..e4e6fa4 100644 --- a/contrib/data/tpch-sample-data/pom.xml +++ b/contrib/data/tpch-sample-data/pom.xml @@ -15,7 +15,7 @@ parent artifactIddrill-contrib-data-parent/artifactId groupIdorg.apache.drill.contrib.data/groupId -version0.9.0-SNAPSHOT/version +version0.9.0/version /parent artifactIdtpch-sample-data/artifactId http://git-wip-us.apache.org/repos/asf/drill/blob/10833d2c/contrib/data/window-test-data/pom.xml -- diff --git a/contrib/data/window-test-data/pom.xml b/contrib/data/window-test-data/pom.xml index 6c2da75..a7eed2c 100644 --- a/contrib/data/window-test-data/pom.xml +++ b/contrib/data/window-test-data/pom.xml @@ -15,7 +15,7 @@ parent artifactIddrill-contrib-data-parent/artifactId groupIdorg.apache.drill.contrib.data/groupId -version0.9.0-SNAPSHOT/version +version0.9.0/version /parent artifactIdwindow-test-data/artifactId http://git-wip-us.apache.org/repos/asf/drill/blob/10833d2c/contrib/pom.xml -- diff --git a/contrib/pom.xml b/contrib/pom.xml index f8a1583..3c93c28 100644 --- a/contrib/pom.xml +++ b/contrib/pom.xml @@ -20,7 +20,7 @@ parent artifactIddrill-root/artifactId groupIdorg.apache.drill/groupId -version0.9.0-SNAPSHOT/version +version0.9.0/version /parent groupIdorg.apache.drill.contrib/groupId http://git-wip-us.apache.org/repos/asf/drill/blob/10833d2c/contrib/sqlline/pom.xml -- diff --git a/contrib/sqlline/pom.xml b/contrib/sqlline/pom.xml index 05afc85..7fb9a35 100644 --- a/contrib/sqlline/pom.xml +++ b/contrib/sqlline/pom.xml @@ -21,7 +21,7 @@ parent artifactIddrill-contrib-parent/artifactId groupIdorg.apache.drill.contrib/groupId -version0.9.0-SNAPSHOT/version +
drill git commit: Updating to version 1.0.0-SNAPSHOT
Repository: drill Updated Branches: refs/heads/master 0dd0e8337 - b22ab2437 Updating to version 1.0.0-SNAPSHOT Project: http://git-wip-us.apache.org/repos/asf/drill/repo Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/b22ab243 Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/b22ab243 Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/b22ab243 Branch: refs/heads/master Commit: b22ab2437ab3b0577ada7d25bddff0f4eef0f6a1 Parents: 0dd0e83 Author: Aditya Kishore a...@apache.org Authored: Sun May 3 12:51:59 2015 -0700 Committer: Aditya Kishore a...@apache.org Committed: Sun May 3 12:51:59 2015 -0700 -- common/pom.xml | 2 +- contrib/data/pom.xml | 2 +- contrib/data/tpch-sample-data/pom.xml| 2 +- contrib/data/window-test-data/pom.xml| 2 +- contrib/pom.xml | 2 +- contrib/sqlline/pom.xml | 2 +- contrib/storage-hbase/pom.xml| 2 +- contrib/storage-hive/core/pom.xml| 2 +- contrib/storage-hive/hive-exec-shade/pom.xml | 2 +- contrib/storage-hive/pom.xml | 2 +- contrib/storage-mongo/pom.xml| 2 +- distribution/pom.xml | 2 +- exec/java-exec/pom.xml | 2 +- exec/jdbc-all/pom.xml| 2 +- exec/jdbc/pom.xml| 2 +- exec/pom.xml | 2 +- pom.xml | 2 +- protocol/pom.xml | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) -- http://git-wip-us.apache.org/repos/asf/drill/blob/b22ab243/common/pom.xml -- diff --git a/common/pom.xml b/common/pom.xml index 2ca629b..40d4ee3 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -21,7 +21,7 @@ parent artifactIddrill-root/artifactId groupIdorg.apache.drill/groupId -version0.9.0-SNAPSHOT/version +version1.0.0-SNAPSHOT/version /parent artifactIddrill-common/artifactId http://git-wip-us.apache.org/repos/asf/drill/blob/b22ab243/contrib/data/pom.xml -- diff --git a/contrib/data/pom.xml b/contrib/data/pom.xml index 6cb7319..99d19e8 100644 --- a/contrib/data/pom.xml +++ b/contrib/data/pom.xml @@ -20,7 +20,7 @@ parent artifactIddrill-contrib-parent/artifactId groupIdorg.apache.drill.contrib/groupId -version0.9.0-SNAPSHOT/version +version1.0.0-SNAPSHOT/version /parent groupIdorg.apache.drill.contrib.data/groupId http://git-wip-us.apache.org/repos/asf/drill/blob/b22ab243/contrib/data/tpch-sample-data/pom.xml -- diff --git a/contrib/data/tpch-sample-data/pom.xml b/contrib/data/tpch-sample-data/pom.xml index bd833df..df878d8 100644 --- a/contrib/data/tpch-sample-data/pom.xml +++ b/contrib/data/tpch-sample-data/pom.xml @@ -15,7 +15,7 @@ parent artifactIddrill-contrib-data-parent/artifactId groupIdorg.apache.drill.contrib.data/groupId -version0.9.0-SNAPSHOT/version +version1.0.0-SNAPSHOT/version /parent artifactIdtpch-sample-data/artifactId http://git-wip-us.apache.org/repos/asf/drill/blob/b22ab243/contrib/data/window-test-data/pom.xml -- diff --git a/contrib/data/window-test-data/pom.xml b/contrib/data/window-test-data/pom.xml index 6c2da75..f2b9d1b 100644 --- a/contrib/data/window-test-data/pom.xml +++ b/contrib/data/window-test-data/pom.xml @@ -15,7 +15,7 @@ parent artifactIddrill-contrib-data-parent/artifactId groupIdorg.apache.drill.contrib.data/groupId -version0.9.0-SNAPSHOT/version +version1.0.0-SNAPSHOT/version /parent artifactIdwindow-test-data/artifactId http://git-wip-us.apache.org/repos/asf/drill/blob/b22ab243/contrib/pom.xml -- diff --git a/contrib/pom.xml b/contrib/pom.xml index f8a1583..c59ca91 100644 --- a/contrib/pom.xml +++ b/contrib/pom.xml @@ -20,7 +20,7 @@ parent artifactIddrill-root/artifactId groupIdorg.apache.drill/groupId -version0.9.0-SNAPSHOT/version +version1.0.0-SNAPSHOT/version /parent groupIdorg.apache.drill.contrib/groupId http://git-wip-us.apache.org/repos/asf/drill/blob/b22ab243/contrib/sqlline/pom.xml -- diff --git a/contrib/sqlline/pom.xml b/contrib/sqlline/pom.xml index 05afc85..0581562 100644 --- a/contrib/sqlline/pom.xml +++ b/contrib/sqlline/pom.xml @@ -21,7 +21,7 @@ parent artifactIddrill-contrib-parent/artifactId