phoenix git commit: PHOENIX-2175 Bump calcite version to 1.3.0-incubating
Repository: phoenix Updated Branches: refs/heads/4.5-HBase-0.98 71da8a021 - c59f47dc5 PHOENIX-2175 Bump calcite version to 1.3.0-incubating Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/c59f47dc Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/c59f47dc Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/c59f47dc Branch: refs/heads/4.5-HBase-0.98 Commit: c59f47dc5a24588b013689fcc6cdf8933b88447e Parents: 71da8a0 Author: Nick Dimiduk ndimi...@apache.org Authored: Wed Aug 12 15:33:18 2015 -0700 Committer: Nick Dimiduk ndimi...@apache.org Committed: Wed Aug 12 15:50:36 2015 -0700 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/c59f47dc/pom.xml -- diff --git a/pom.xml b/pom.xml index 0339860..75bb4aa 100644 --- a/pom.xml +++ b/pom.xml @@ -109,7 +109,7 @@ collections.version3.2.1/collections.version jodatime.version2.7/jodatime.version joni.version2.1.2/joni.version -calcite.version1.2.0-incubating/calcite.version +calcite.version1.3.0-incubating/calcite.version !-- Test Dependencies -- mockito-all.version1.8.5/mockito-all.version
Apache-Phoenix | 4.5-HBase-0.98 | Build Successful
4.5-HBase-0.98 branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/4.5-HBase-0.98 Compiled Artifacts https://builds.apache.org/job/Phoenix-4.5-HBase-0.98/lastSuccessfulBuild/artifact/ Test Report https://builds.apache.org/job/Phoenix-4.5-HBase-0.98/lastCompletedBuild/testReport/ Changes [ndimiduk] PHOENIX-2175 Bump calcite version to 1.3.0-incubating Build times for last couple of runsLatest build time is the right most | Legend blue: normal, red: test failure, gray: timeout
phoenix git commit: PHOENIX-2175 Bump calcite version to 1.3.0-incubating
Repository: phoenix Updated Branches: refs/heads/4.x-HBase-1.0 55f2d61ea - cdb47f9e4 PHOENIX-2175 Bump calcite version to 1.3.0-incubating Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/cdb47f9e Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/cdb47f9e Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/cdb47f9e Branch: refs/heads/4.x-HBase-1.0 Commit: cdb47f9e485d6c1f26f96d8dcc792543ae3308ac Parents: 55f2d61 Author: Nick Dimiduk ndimi...@apache.org Authored: Wed Aug 12 15:33:18 2015 -0700 Committer: Nick Dimiduk ndimi...@apache.org Committed: Wed Aug 12 15:40:26 2015 -0700 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/cdb47f9e/pom.xml -- diff --git a/pom.xml b/pom.xml index 46241c9..56fafd0 100644 --- a/pom.xml +++ b/pom.xml @@ -109,7 +109,7 @@ collections.version3.2.1/collections.version jodatime.version2.7/jodatime.version joni.version2.1.2/joni.version -calcite.version1.2.0-incubating/calcite.version +calcite.version1.3.0-incubating/calcite.version !-- Test Dependencies -- mockito-all.version1.8.5/mockito-all.version
phoenix git commit: PHOENIX-2175 Bump calcite version to 1.3.0-incubating
Repository: phoenix Updated Branches: refs/heads/master 274eb42d4 - 209b45e91 PHOENIX-2175 Bump calcite version to 1.3.0-incubating Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/209b45e9 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/209b45e9 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/209b45e9 Branch: refs/heads/master Commit: 209b45e912e8e7202583788f541dc8cd299f7e27 Parents: 274eb42 Author: Nick Dimiduk ndimi...@apache.org Authored: Wed Aug 12 15:33:18 2015 -0700 Committer: Nick Dimiduk ndimi...@apache.org Committed: Wed Aug 12 15:39:24 2015 -0700 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/209b45e9/pom.xml -- diff --git a/pom.xml b/pom.xml index bda6628..703831a 100644 --- a/pom.xml +++ b/pom.xml @@ -109,7 +109,7 @@ collections.version3.2.1/collections.version jodatime.version2.7/jodatime.version joni.version2.1.2/joni.version -calcite.version1.2.0-incubating/calcite.version +calcite.version1.3.0-incubating/calcite.version !-- Test Dependencies -- mockito-all.version1.8.5/mockito-all.version
phoenix git commit: PHOENIX-2175 Bump calcite version to 1.3.0-incubating
Repository: phoenix Updated Branches: refs/heads/4.5-HBase-1.1 6c8d08e9e - 9b2dc1f36 PHOENIX-2175 Bump calcite version to 1.3.0-incubating Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/9b2dc1f3 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/9b2dc1f3 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/9b2dc1f3 Branch: refs/heads/4.5-HBase-1.1 Commit: 9b2dc1f3692e35d996bc9a7a91c982b3c1835e7c Parents: 6c8d08e Author: Nick Dimiduk ndimi...@apache.org Authored: Wed Aug 12 15:33:18 2015 -0700 Committer: Nick Dimiduk ndimi...@apache.org Committed: Wed Aug 12 15:50:13 2015 -0700 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/9b2dc1f3/pom.xml -- diff --git a/pom.xml b/pom.xml index cce0311..83d7010 100644 --- a/pom.xml +++ b/pom.xml @@ -109,7 +109,7 @@ collections.version3.2.1/collections.version jodatime.version2.7/jodatime.version joni.version2.1.2/joni.version -calcite.version1.2.0-incubating/calcite.version +calcite.version1.3.0-incubating/calcite.version !-- Test Dependencies -- mockito-all.version1.8.5/mockito-all.version
phoenix git commit: PHOENIX-2175 Bump calcite version to 1.3.0-incubating
Repository: phoenix Updated Branches: refs/heads/4.x-HBase-0.98 71eb9e656 - 18d34381e PHOENIX-2175 Bump calcite version to 1.3.0-incubating Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/18d34381 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/18d34381 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/18d34381 Branch: refs/heads/4.x-HBase-0.98 Commit: 18d34381eab924a8edd45c8278afa560128792cf Parents: 71eb9e6 Author: Nick Dimiduk ndimi...@apache.org Authored: Wed Aug 12 15:33:18 2015 -0700 Committer: Nick Dimiduk ndimi...@apache.org Committed: Wed Aug 12 15:49:23 2015 -0700 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/18d34381/pom.xml -- diff --git a/pom.xml b/pom.xml index 13e7cb1..e22b526 100644 --- a/pom.xml +++ b/pom.xml @@ -109,7 +109,7 @@ collections.version3.2.1/collections.version jodatime.version2.7/jodatime.version joni.version2.1.2/joni.version -calcite.version1.2.0-incubating/calcite.version +calcite.version1.3.0-incubating/calcite.version !-- Test Dependencies -- mockito-all.version1.8.5/mockito-all.version
phoenix git commit: PHOENIX-2175 Bump calcite version to 1.3.0-incubating
Repository: phoenix Updated Branches: refs/heads/4.5-HBase-1.0 381e448d5 - d6d5c758f PHOENIX-2175 Bump calcite version to 1.3.0-incubating Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/d6d5c758 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/d6d5c758 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/d6d5c758 Branch: refs/heads/4.5-HBase-1.0 Commit: d6d5c758f0ae6821aa9eb448df2929059bc0681d Parents: 381e448 Author: Nick Dimiduk ndimi...@apache.org Authored: Wed Aug 12 15:33:18 2015 -0700 Committer: Nick Dimiduk ndimi...@apache.org Committed: Wed Aug 12 15:50:25 2015 -0700 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/d6d5c758/pom.xml -- diff --git a/pom.xml b/pom.xml index 10826f3..4b79bec 100644 --- a/pom.xml +++ b/pom.xml @@ -109,7 +109,7 @@ collections.version3.2.1/collections.version jodatime.version2.7/jodatime.version joni.version2.1.2/joni.version -calcite.version1.2.0-incubating/calcite.version +calcite.version1.3.0-incubating/calcite.version !-- Test Dependencies -- mockito-all.version1.8.5/mockito-all.version
Apache-Phoenix | 4.5-HBase-1.1 | Build Successful
4.5-HBase-1.1 branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/4.5-HBase-1.1 Compiled Artifacts https://builds.apache.org/job/Phoenix-4.5-HBase-1.1/lastSuccessfulBuild/artifact/ Test Report https://builds.apache.org/job/Phoenix-4.5-HBase-1.1/lastCompletedBuild/testReport/ Changes [ndimiduk] PHOENIX-2175 Bump calcite version to 1.3.0-incubating Build times for last couple of runsLatest build time is the right most | Legend blue: normal, red: test failure, gray: timeout
Build failed in Jenkins: Phoenix | Master #873
See https://builds.apache.org/job/Phoenix-master/873/changes Changes: [ndimiduk] PHOENIX-2175 Bump calcite version to 1.3.0-incubating -- [...truncated 118923 lines...] Running org.apache.phoenix.util.ColumnInfoTest Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.phoenix.util.ColumnInfoTest Running org.apache.phoenix.util.LogUtilTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.142 sec - in org.apache.phoenix.util.LogUtilTest Running org.apache.phoenix.util.QueryUtilTest Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec - in org.apache.phoenix.util.QueryUtilTest Running org.apache.phoenix.util.IndexUtilTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.phoenix.util.IndexUtilTest Running org.apache.phoenix.util.PhoenixContextExecutorTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.phoenix.util.PhoenixContextExecutorTest Running org.apache.phoenix.trace.TraceMetricsSourceTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.183 sec - in org.apache.phoenix.trace.TraceMetricsSourceTest Running org.apache.phoenix.memory.MemoryManagerTest Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 6.008 sec - in org.apache.phoenix.memory.MemoryManagerTest Running org.apache.phoenix.compile.WhereOptimizerTest Tests run: 102, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.422 sec - in org.apache.phoenix.compile.WhereOptimizerTest Running org.apache.phoenix.compile.LimitCompilerTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.188 sec - in org.apache.phoenix.compile.LimitCompilerTest Running org.apache.phoenix.compile.QueryMetaDataTest Tests run: 33, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.25 sec - in org.apache.phoenix.compile.QueryMetaDataTest Running org.apache.phoenix.compile.JoinQueryCompilerTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.228 sec - in org.apache.phoenix.compile.JoinQueryCompilerTest Running org.apache.phoenix.compile.TenantSpecificViewIndexCompileTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.282 sec - in org.apache.phoenix.compile.TenantSpecificViewIndexCompileTest Running org.apache.phoenix.compile.WhereCompilerTest Tests run: 43, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.27 sec - in org.apache.phoenix.compile.WhereCompilerTest Running org.apache.phoenix.compile.ScanRangesIntersectTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.phoenix.compile.ScanRangesIntersectTest Running org.apache.phoenix.parse.BuiltInFunctionInfoTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec - in org.apache.phoenix.parse.BuiltInFunctionInfoTest Running org.apache.phoenix.parse.CastParseNodeTest Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.phoenix.parse.CastParseNodeTest Running org.apache.phoenix.hbase.index.write.TestIndexWriter Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.086 sec - in org.apache.phoenix.hbase.index.write.TestIndexWriter Running org.apache.phoenix.hbase.index.write.TestCachingHTableFactory Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.008 sec - in org.apache.phoenix.hbase.index.write.TestCachingHTableFactory Running org.apache.phoenix.hbase.index.write.recovery.TestPerRegionIndexWriteCache Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.517 sec - in org.apache.phoenix.hbase.index.write.recovery.TestPerRegionIndexWriteCache Running org.apache.phoenix.hbase.index.parallel.TestThreadPoolManager Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec - in org.apache.phoenix.hbase.index.parallel.TestThreadPoolManager Running org.apache.phoenix.hbase.index.covered.filter.TestNewerTimestampFilter Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.phoenix.hbase.index.covered.filter.TestNewerTimestampFilter Running org.apache.phoenix.hbase.index.covered.example.TestCoveredColumnIndexCodec Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec - in org.apache.phoenix.hbase.index.covered.example.TestCoveredColumnIndexCodec Running org.apache.phoenix.hbase.index.covered.example.TestCoveredIndexSpecifierBuilder Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec - in org.apache.phoenix.hbase.index.covered.example.TestCoveredIndexSpecifierBuilder Running org.apache.phoenix.hbase.index.covered.TestLocalTableState Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec - in org.apache.phoenix.hbase.index.covered.TestLocalTableState Running org.apache.phoenix.hbase.index.covered.TestCoveredColumns Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in
Apache-Phoenix | 4.5-HBase-1.0 | Build Successful
4.5-HBase-1.0 branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/4.5-HBase-1.0 Compiled Artifacts https://builds.apache.org/job/Phoenix-4.5-HBase-1.0/lastSuccessfulBuild/artifact/ Test Report https://builds.apache.org/job/Phoenix-4.5-HBase-1.0/lastCompletedBuild/testReport/ Changes [ndimiduk] PHOENIX-2175 Bump calcite version to 1.3.0-incubating Build times for last couple of runsLatest build time is the right most | Legend blue: normal, red: test failure, gray: timeout
phoenix git commit: Update tephra version to 0.6.2-SNAPSHOT in pom.xml , fix bug related to issuing column deletes
Repository: phoenix Updated Branches: refs/heads/txn 6bcbbbd73 - a11f48300 Update tephra version to 0.6.2-SNAPSHOT in pom.xml , fix bug related to issuing column deletes Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/a11f4830 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/a11f4830 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/a11f4830 Branch: refs/heads/txn Commit: a11f483003fc3620a1e3d335c5889b8356309e80 Parents: 6bcbbbd Author: Thomas D'Silva tdsi...@salesforce.com Authored: Wed Aug 12 18:34:28 2015 -0700 Committer: Thomas D'Silva tdsi...@salesforce.com Committed: Wed Aug 12 18:34:28 2015 -0700 -- phoenix-core/pom.xml| 8 .../main/java/org/apache/phoenix/index/IndexMaintainer.java | 9 ++--- 2 files changed, 10 insertions(+), 7 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/a11f4830/phoenix-core/pom.xml -- diff --git a/phoenix-core/pom.xml b/phoenix-core/pom.xml index 7ca5d1e..775411c 100644 --- a/phoenix-core/pom.xml +++ b/phoenix-core/pom.xml @@ -224,24 +224,24 @@ dependency groupIdco.cask.tephra/groupId artifactIdtephra-api/artifactId - version0.5.1-SNAPSHOT/version + version0.6.2-SNAPSHOT/version /dependency dependency groupIdco.cask.tephra/groupId artifactIdtephra-core/artifactId - version0.5.1-SNAPSHOT/version + version0.6.2-SNAPSHOT/version /dependency dependency groupIdco.cask.tephra/groupId artifactIdtephra-core/artifactId typetest-jar/type - version0.5.1-SNAPSHOT/version + version0.6.2-SNAPSHOT/version scopetest/scope /dependency dependency groupIdco.cask.tephra/groupId artifactIdtephra-hbase-compat-0.98/artifactId - version0.5.1-SNAPSHOT/version + version0.6.2-SNAPSHOT/version /dependency !-- Make sure we have all the antlr dependencies -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/a11f4830/phoenix-core/src/main/java/org/apache/phoenix/index/IndexMaintainer.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/index/IndexMaintainer.java b/phoenix-core/src/main/java/org/apache/phoenix/index/IndexMaintainer.java index aaaf685..b0f87cb 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/index/IndexMaintainer.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/index/IndexMaintainer.java @@ -822,7 +822,10 @@ public class IndexMaintainer implements Writable, IterableColumnReference { int nDeleteCF = 0; int nDeleteVersionCF = 0; for (Cell kv : pendingUpdates) { -if (kv.getTypeByte() == KeyValue.Type.DeleteFamilyVersion.getCode()) { + if (kv.getTypeByte() == KeyValue.Type.DeleteFamily.getCode()) { + nDeleteCF++; + } + else if (kv.getTypeByte() == KeyValue.Type.DeleteFamilyVersion.getCode()) { nDeleteVersionCF++; } } @@ -884,12 +887,12 @@ public class IndexMaintainer implements Writable, IterableColumnReference { Delete delete = new Delete(indexRowKey); // If table delete was single version, then index delete should be as well if (deleteType == DeleteType.SINGLE_VERSION) { -for (ColumnReference ref : getAllColumns()) { // FIXME: Keep Setbyte[] for index CFs? +for (ColumnReference ref : getCoverededColumns()) { // FIXME: Keep Setbyte[] for index CFs? delete.deleteFamilyVersion(ref.getFamily(), ts); } delete.deleteFamilyVersion(emptyCF, ts); } else { -for (ColumnReference ref : getAllColumns()) { // FIXME: Keep Setbyte[] for index CFs? +for (ColumnReference ref : getCoverededColumns()) { // FIXME: Keep Setbyte[] for index CFs? delete.deleteFamily(ref.getFamily(), ts); } delete.deleteFamily(emptyCF, ts);
phoenix git commit: Bug fixes and code update based on latest Calcite master branch
Repository: phoenix Updated Branches: refs/heads/calcite 39dff45c3 - 07739579a Bug fixes and code update based on latest Calcite master branch Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/07739579 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/07739579 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/07739579 Branch: refs/heads/calcite Commit: 07739579a09a3efec0716f8bc6ac5ad205308d49 Parents: 39dff45 Author: maryannxue wei@intel.com Authored: Thu Aug 13 00:06:37 2015 -0400 Committer: maryannxue wei@intel.com Committed: Thu Aug 13 00:06:37 2015 -0400 -- .../org/apache/phoenix/calcite/CalciteTest.java | 44 +--- .../apache/phoenix/calcite/PhoenixSchema.java | 2 +- .../phoenix/calcite/rel/PhoenixServerJoin.java | 3 +- .../LiteralResultIterationQueryPlan.java| 5 ++- 4 files changed, 35 insertions(+), 19 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/07739579/phoenix-core/src/it/java/org/apache/phoenix/calcite/CalciteTest.java -- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/calcite/CalciteTest.java b/phoenix-core/src/it/java/org/apache/phoenix/calcite/CalciteTest.java index 1d11c20..bc6ce70 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/calcite/CalciteTest.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/calcite/CalciteTest.java @@ -542,9 +542,9 @@ public class CalciteTest extends BaseClientManagedTimeIT { start().sql(select s.name, count(\item_id\) from + JOIN_SUPPLIER_TABLE_FULL_NAME + s join + JOIN_ITEM_TABLE_FULL_NAME + i on s.\supplier_id\ = i.\supplier_id\ group by s.name) .explainIs(PhoenixToEnumerableConverter\n + - PhoenixServerAggregate(group=[{2}], EXPR$1=[COUNT()])\n + - PhoenixServerJoin(condition=[=($1, $0)], joinType=[inner])\n + - PhoenixServerProject(supplier_id=[$5])\n + + PhoenixServerAggregate(group=[{3}], EXPR$1=[COUNT()])\n + + PhoenixServerJoin(condition=[=($2, $1)], joinType=[inner])\n + + PhoenixServerProject(item_id=[$0], supplier_id=[$5])\n + PhoenixTableScan(table=[[phoenix, Join, ItemTable]])\n + PhoenixToClientConverter\n + PhoenixServerProject(supplier_id=[$0], NAME=[$1])\n + @@ -619,9 +619,9 @@ public class CalciteTest extends BaseClientManagedTimeIT { start().sql(select s.name, count(\item_id\) from + JOIN_SUPPLIER_TABLE_FULL_NAME + s join + JOIN_ITEM_TABLE_FULL_NAME + i on s.\supplier_id\ = i.\supplier_id\ group by s.name order by count(\item_id\), s.name desc) .explainIs(PhoenixToEnumerableConverter\n + PhoenixCompactClientSort(sort0=[$1], sort1=[$0], dir0=[ASC], dir1=[DESC])\n + - PhoenixServerAggregate(group=[{2}], EXPR$1=[COUNT()])\n + - PhoenixServerJoin(condition=[=($1, $0)], joinType=[inner])\n + - PhoenixServerProject(supplier_id=[$5])\n + + PhoenixServerAggregate(group=[{3}], EXPR$1=[COUNT()])\n + + PhoenixServerJoin(condition=[=($2, $1)], joinType=[inner])\n + + PhoenixServerProject(item_id=[$0], supplier_id=[$5])\n + PhoenixTableScan(table=[[phoenix, Join, ItemTable]])\n + PhoenixToClientConverter\n + PhoenixServerProject(supplier_id=[$0], NAME=[$1])\n + @@ -698,9 +698,9 @@ public class CalciteTest extends BaseClientManagedTimeIT { .explainIs(PhoenixToEnumerableConverter\n + PhoenixLimit(fetch=[3])\n + PhoenixCompactClientSort(sort0=[$1], sort1=[$0], dir0=[ASC], dir1=[DESC])\n + - PhoenixServerAggregate(group=[{2}], EXPR$1=[COUNT()])\n + - PhoenixServerJoin(condition=[=($1, $0)], joinType=[inner])\n + - PhoenixServerProject(supplier_id=[$5])\n + + PhoenixServerAggregate(group=[{3}], EXPR$1=[COUNT()])\n + + PhoenixServerJoin(condition=[=($2, $1)], joinType=[inner])\n + + PhoenixServerProject(item_id=[$0], supplier_id=[$5])\n +
Apache-Phoenix | 4.x-HBase-1.0 | Build Successful
4.x-HBase-1.0 branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/4.x-HBase-1.0 Compiled Artifacts https://builds.apache.org/job/Phoenix-4.x-HBase-1.0/lastSuccessfulBuild/artifact/ Test Report https://builds.apache.org/job/Phoenix-4.x-HBase-1.0/lastCompletedBuild/testReport/ Changes [ndimiduk] PHOENIX-2175 Bump calcite version to 1.3.0-incubating Build times for last couple of runsLatest build time is the right most | Legend blue: normal, red: test failure, gray: timeout
phoenix git commit: PHOENIX-2142 Implement octet_length build-in function for BINARY and VARBINARY(Shuxiong Ye)
Repository: phoenix Updated Branches: refs/heads/master c435bba8f - 274eb42d4 PHOENIX-2142 Implement octet_length build-in function for BINARY and VARBINARY(Shuxiong Ye) Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/274eb42d Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/274eb42d Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/274eb42d Branch: refs/heads/master Commit: 274eb42d41c3c545f28491d845ec6e0b20bdbe5b Parents: c435bba Author: Samarth samarth.j...@salesforce.com Authored: Wed Aug 12 09:00:57 2015 -0700 Committer: Samarth samarth.j...@salesforce.com Committed: Wed Aug 12 09:00:57 2015 -0700 -- .../end2end/OctetLengthFunctionEnd2EndIT.java | 73 .../phoenix/expression/ExpressionType.java | 4 +- .../function/OctetLengthFunction.java | 66 ++ .../phoenix/schema/types/PBinaryBase.java | 12 .../expression/OctetLengthFunctionTest.java | 67 ++ 5 files changed, 221 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/274eb42d/phoenix-core/src/it/java/org/apache/phoenix/end2end/OctetLengthFunctionEnd2EndIT.java -- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/OctetLengthFunctionEnd2EndIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/OctetLengthFunctionEnd2EndIT.java new file mode 100644 index 000..1239e7a --- /dev/null +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/OctetLengthFunctionEnd2EndIT.java @@ -0,0 +1,73 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * License); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.phoenix.end2end; + +import static org.apache.phoenix.util.TestUtil.closeStmtAndConn; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.PreparedStatement; +import java.sql.ResultSet; + +import org.apache.phoenix.expression.function.OctetLengthFunction; +import org.junit.Before; +import org.junit.Test; + +/** + * End to end tests for {@link OctetLengthFunction} + */ +public class OctetLengthFunctionEnd2EndIT extends BaseHBaseManagedTimeIT { + +private static final String KEY = key; + +@Before +public void initTable() throws Exception { +Connection conn = null; +PreparedStatement stmt = null; +try { +conn = DriverManager.getConnection(getUrl()); +String ddl; +ddl = CREATE TABLE ta (k VARCHAR NOT NULL PRIMARY KEY, b BINARY(4), vb VARBINARY); +conn.createStatement().execute(ddl); +conn.commit(); +} finally { +closeStmtAndConn(stmt, conn); +} +} + +@Test +public void test() throws Exception { +Connection conn = DriverManager.getConnection(getUrl()); +PreparedStatement stmt = conn.prepareStatement(UPSERT INTO ta VALUES (?, ?, ?)); +stmt.setString(1, KEY); +stmt.setBytes(2, new byte[] { 1, 2, 3, 4 }); +stmt.setBytes(3, new byte[] { 1, 2, 3, 4 }); +stmt.executeUpdate(); +conn.commit(); +ResultSet rs = +conn.createStatement() +.executeQuery( +SELECT OCTET_LENGTH(vb), OCTET_LENGTH(b) FROM ta WHERE OCTET_LENGTH(vb)=4 and OCTET_LENGTH(b)=4); +assertTrue(rs.next()); +assertEquals(4, rs.getInt(1)); +assertEquals(4, rs.getInt(2)); +assertTrue(!rs.next()); +} +} http://git-wip-us.apache.org/repos/asf/phoenix/blob/274eb42d/phoenix-core/src/main/java/org/apache/phoenix/expression/ExpressionType.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/expression/ExpressionType.java b/phoenix-core/src/main/java/org/apache/phoenix/expression/ExpressionType.java index 5dbab69..dbe2509 100644 ---
phoenix git commit: PHOENIX-2142 Implement octet_length build-in function for BINARY and VARBINARY(Shuxiong Ye)
Repository: phoenix Updated Branches: refs/heads/4.x-HBase-1.0 e1c92a2a1 - 55f2d61ea PHOENIX-2142 Implement octet_length build-in function for BINARY and VARBINARY(Shuxiong Ye) Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/55f2d61e Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/55f2d61e Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/55f2d61e Branch: refs/heads/4.x-HBase-1.0 Commit: 55f2d61ea996daf64c0759b0047e4dbd4ed4bbf9 Parents: e1c92a2 Author: Samarth samarth.j...@salesforce.com Authored: Wed Aug 12 09:04:30 2015 -0700 Committer: Samarth samarth.j...@salesforce.com Committed: Wed Aug 12 09:04:30 2015 -0700 -- .../end2end/OctetLengthFunctionEnd2EndIT.java | 73 .../phoenix/expression/ExpressionType.java | 4 +- .../function/OctetLengthFunction.java | 66 ++ .../phoenix/schema/types/PBinaryBase.java | 12 .../expression/OctetLengthFunctionTest.java | 67 ++ 5 files changed, 221 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/55f2d61e/phoenix-core/src/it/java/org/apache/phoenix/end2end/OctetLengthFunctionEnd2EndIT.java -- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/OctetLengthFunctionEnd2EndIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/OctetLengthFunctionEnd2EndIT.java new file mode 100644 index 000..1239e7a --- /dev/null +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/OctetLengthFunctionEnd2EndIT.java @@ -0,0 +1,73 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * License); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.phoenix.end2end; + +import static org.apache.phoenix.util.TestUtil.closeStmtAndConn; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.PreparedStatement; +import java.sql.ResultSet; + +import org.apache.phoenix.expression.function.OctetLengthFunction; +import org.junit.Before; +import org.junit.Test; + +/** + * End to end tests for {@link OctetLengthFunction} + */ +public class OctetLengthFunctionEnd2EndIT extends BaseHBaseManagedTimeIT { + +private static final String KEY = key; + +@Before +public void initTable() throws Exception { +Connection conn = null; +PreparedStatement stmt = null; +try { +conn = DriverManager.getConnection(getUrl()); +String ddl; +ddl = CREATE TABLE ta (k VARCHAR NOT NULL PRIMARY KEY, b BINARY(4), vb VARBINARY); +conn.createStatement().execute(ddl); +conn.commit(); +} finally { +closeStmtAndConn(stmt, conn); +} +} + +@Test +public void test() throws Exception { +Connection conn = DriverManager.getConnection(getUrl()); +PreparedStatement stmt = conn.prepareStatement(UPSERT INTO ta VALUES (?, ?, ?)); +stmt.setString(1, KEY); +stmt.setBytes(2, new byte[] { 1, 2, 3, 4 }); +stmt.setBytes(3, new byte[] { 1, 2, 3, 4 }); +stmt.executeUpdate(); +conn.commit(); +ResultSet rs = +conn.createStatement() +.executeQuery( +SELECT OCTET_LENGTH(vb), OCTET_LENGTH(b) FROM ta WHERE OCTET_LENGTH(vb)=4 and OCTET_LENGTH(b)=4); +assertTrue(rs.next()); +assertEquals(4, rs.getInt(1)); +assertEquals(4, rs.getInt(2)); +assertTrue(!rs.next()); +} +} http://git-wip-us.apache.org/repos/asf/phoenix/blob/55f2d61e/phoenix-core/src/main/java/org/apache/phoenix/expression/ExpressionType.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/expression/ExpressionType.java b/phoenix-core/src/main/java/org/apache/phoenix/expression/ExpressionType.java index bbd02be..1af0ee4 100644 ---
Jenkins build is back to normal : Phoenix-4.x-HBase-1.0 #139
See https://builds.apache.org/job/Phoenix-4.x-HBase-1.0/139/changes
phoenix git commit: PHOENIX-2142 Implement octet_length build-in function for BINARY and VARBINARY(Shuxiong Ye)
Repository: phoenix Updated Branches: refs/heads/4.x-HBase-0.98 2114f8180 - 71eb9e656 PHOENIX-2142 Implement octet_length build-in function for BINARY and VARBINARY(Shuxiong Ye) Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/71eb9e65 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/71eb9e65 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/71eb9e65 Branch: refs/heads/4.x-HBase-0.98 Commit: 71eb9e656e7b74d1509f0c77d125ae4dedf0e5c3 Parents: 2114f81 Author: Samarth samarth.j...@salesforce.com Authored: Wed Aug 12 09:03:03 2015 -0700 Committer: Samarth samarth.j...@salesforce.com Committed: Wed Aug 12 09:03:03 2015 -0700 -- .../end2end/OctetLengthFunctionEnd2EndIT.java | 73 .../phoenix/expression/ExpressionType.java | 4 +- .../function/OctetLengthFunction.java | 66 ++ .../phoenix/schema/types/PBinaryBase.java | 12 .../expression/OctetLengthFunctionTest.java | 67 ++ 5 files changed, 221 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/71eb9e65/phoenix-core/src/it/java/org/apache/phoenix/end2end/OctetLengthFunctionEnd2EndIT.java -- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/OctetLengthFunctionEnd2EndIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/OctetLengthFunctionEnd2EndIT.java new file mode 100644 index 000..1239e7a --- /dev/null +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/OctetLengthFunctionEnd2EndIT.java @@ -0,0 +1,73 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * License); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.phoenix.end2end; + +import static org.apache.phoenix.util.TestUtil.closeStmtAndConn; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; + +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.PreparedStatement; +import java.sql.ResultSet; + +import org.apache.phoenix.expression.function.OctetLengthFunction; +import org.junit.Before; +import org.junit.Test; + +/** + * End to end tests for {@link OctetLengthFunction} + */ +public class OctetLengthFunctionEnd2EndIT extends BaseHBaseManagedTimeIT { + +private static final String KEY = key; + +@Before +public void initTable() throws Exception { +Connection conn = null; +PreparedStatement stmt = null; +try { +conn = DriverManager.getConnection(getUrl()); +String ddl; +ddl = CREATE TABLE ta (k VARCHAR NOT NULL PRIMARY KEY, b BINARY(4), vb VARBINARY); +conn.createStatement().execute(ddl); +conn.commit(); +} finally { +closeStmtAndConn(stmt, conn); +} +} + +@Test +public void test() throws Exception { +Connection conn = DriverManager.getConnection(getUrl()); +PreparedStatement stmt = conn.prepareStatement(UPSERT INTO ta VALUES (?, ?, ?)); +stmt.setString(1, KEY); +stmt.setBytes(2, new byte[] { 1, 2, 3, 4 }); +stmt.setBytes(3, new byte[] { 1, 2, 3, 4 }); +stmt.executeUpdate(); +conn.commit(); +ResultSet rs = +conn.createStatement() +.executeQuery( +SELECT OCTET_LENGTH(vb), OCTET_LENGTH(b) FROM ta WHERE OCTET_LENGTH(vb)=4 and OCTET_LENGTH(b)=4); +assertTrue(rs.next()); +assertEquals(4, rs.getInt(1)); +assertEquals(4, rs.getInt(2)); +assertTrue(!rs.next()); +} +} http://git-wip-us.apache.org/repos/asf/phoenix/blob/71eb9e65/phoenix-core/src/main/java/org/apache/phoenix/expression/ExpressionType.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/expression/ExpressionType.java b/phoenix-core/src/main/java/org/apache/phoenix/expression/ExpressionType.java index 2089b6c..07f3bdd 100644 ---
Apache-Phoenix | Master | Build Successful
Master branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/master Last Successful Compiled Artifacts https://builds.apache.org/job/Phoenix-master/lastSuccessfulBuild/artifact/ Last Complete Test Report https://builds.apache.org/job/Phoenix-master/lastCompletedBuild/testReport/ Changes [samarth.jain] PHOENIX-2142 Implement octet_length build-in function for BINARY and VARBINARY(Shuxiong Ye) Build times for last couple of runsLatest build time is the right most | Legend blue: normal, red: test failure, gray: timeout
Jenkins build is back to stable : Phoenix | 4.x-HBase-0.98 #815
See https://builds.apache.org/job/Phoenix-4.x-HBase-0.98/815/changes
Apache-Phoenix | 4.5-HBase-0.98 | Build Successful
4.5-HBase-0.98 branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/4.5-HBase-0.98 Compiled Artifacts https://builds.apache.org/job/Phoenix-4.5-HBase-0.98/lastSuccessfulBuild/artifact/ Test Report https://builds.apache.org/job/Phoenix-4.5-HBase-0.98/lastCompletedBuild/testReport/ Changes Build times for last couple of runsLatest build time is the right most | Legend blue: normal, red: test failure, gray: timeout
Apache-Phoenix | 4.5-HBase-1.0 | Build Successful
4.5-HBase-1.0 branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/4.5-HBase-1.0 Compiled Artifacts https://builds.apache.org/job/Phoenix-4.5-HBase-1.0/lastSuccessfulBuild/artifact/ Test Report https://builds.apache.org/job/Phoenix-4.5-HBase-1.0/lastCompletedBuild/testReport/ Changes Build times for last couple of runsLatest build time is the right most | Legend blue: normal, red: test failure, gray: timeout
Apache-Phoenix | 4.5-HBase-1.1 | Build Successful
4.5-HBase-1.1 branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/4.5-HBase-1.1 Compiled Artifacts https://builds.apache.org/job/Phoenix-4.5-HBase-1.1/lastSuccessfulBuild/artifact/ Test Report https://builds.apache.org/job/Phoenix-4.5-HBase-1.1/lastCompletedBuild/testReport/ Changes Build times for last couple of runsLatest build time is the right most | Legend blue: normal, red: test failure, gray: timeout