Apache-Phoenix | 4.0 | Build Successful
4.0 branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf/incubator-phoenix.git Compiled Artifacts https://builds.apache.org/job/Phoenix-4.0/lastSuccessfulBuild/artifact/ Test Report https://builds.apache.org/job/Phoenix-4.0/lastCompletedBuild/testReport/ Changes [jeffreyz] PHOENIX-1355: sqlline.py or psql.py may hang if they're not invoked from bin folder [jeffreyz] PHOENIX-1360: NPE in SpoolingResultIterator
[2/2] git commit: Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/phoenix
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/phoenix Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/91004269 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/91004269 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/91004269 Branch: refs/heads/master Commit: 91004269ad1f51f4fba86f08d22776e6141fe82f Parents: 1ceacce b8f32ae Author: James Taylor jtay...@salesforce.com Authored: Sun Oct 19 23:47:00 2014 -0700 Committer: James Taylor jtay...@salesforce.com Committed: Sun Oct 19 23:47:00 2014 -0700 -- bin/end2endTest.py | 16 + bin/phoenix_utils.py| 34 +--- bin/psql.py | 2 +- bin/sqlline.py | 2 +- .../phoenix/iterate/SpoolingResultIterator.java | 2 +- 5 files changed, 42 insertions(+), 14 deletions(-) --
[1/2] git commit: PHOENIX-1368 Persist link from VIEW back to its child VIEW
Repository: phoenix Updated Branches: refs/heads/master b8f32aeaa - 91004269a PHOENIX-1368 Persist link from VIEW back to its child VIEW Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/1ceaccef Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/1ceaccef Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/1ceaccef Branch: refs/heads/master Commit: 1ceaccef33f985900829685732da54268c65bcca Parents: 571c594 Author: James Taylor jtay...@salesforce.com Authored: Sun Oct 19 23:46:39 2014 -0700 Committer: James Taylor jtay...@salesforce.com Committed: Sun Oct 19 23:46:39 2014 -0700 -- .../coprocessor/MetaDataEndpointImpl.java | 2 -- .../phoenix/jdbc/PhoenixDatabaseMetaData.java | 4 .../apache/phoenix/schema/MetaDataClient.java | 22 .../java/org/apache/phoenix/schema/PTable.java | 6 +- 4 files changed, 31 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/1ceaccef/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java index 111eff3..e690668 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java @@ -595,8 +595,6 @@ public class MetaDataEndpointImpl extends MetaDataProtocol implements Coprocesso addIndexToTable(tenantId, schemaName, famName, tableName, clientTimeStamp, indexes); } else if (linkType == LinkType.PHYSICAL_TABLE) { physicalTables.add(famName); - } else { - logger.warn(Unknown link type: + colKv.getValueArray()[colKv.getValueOffset()] + for + SchemaUtil.getTableName(schemaName.getString(), tableName.getString())); } } else { addColumnToTable(results, colName, famName, colKeyValues, columns, saltBucketNum != null); http://git-wip-us.apache.org/repos/asf/phoenix/blob/1ceaccef/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java b/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java index 54dfae3..a4976cb 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java @@ -250,6 +250,10 @@ public class PhoenixDatabaseMetaData implements DatabaseMetaData, org.apache.pho public static final byte[] MAX_KEY_BYTES = Bytes.toBytes(MAX_KEY); public static final String LAST_STATS_UPDATE_TIME = LAST_STATS_UPDATE_TIME; public static final byte[] LAST_STATS_UPDATE_TIME_BYTES = Bytes.toBytes(LAST_STATS_UPDATE_TIME); + +public static final String PARENT_TENANT_ID = PARENT_TENANT_ID; +public static final byte[] PARENT_TENANT_ID_BYTES = Bytes.toBytes(PARENT_TENANT_ID); + private final PhoenixConnection connection; private final ResultSet emptyResultSet; http://git-wip-us.apache.org/repos/asf/phoenix/blob/1ceaccef/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java b/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java index 924906e..1f26274 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java @@ -42,6 +42,7 @@ import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.LINK_TYPE; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.MULTI_TENANT; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.NULLABLE; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.ORDINAL_POSITION; +import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.PARENT_TENANT_ID; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.PHYSICAL_NAME; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.PK_NAME; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.REGION_NAME; @@ -185,6 +186,15 @@ public class MetaDataClient { COLUMN_FAMILY + , + LINK_TYPE + ) VALUES (?, ?, ?, ?, ?); +private static final
git commit: PHOENIX-1368 Persist link from VIEW back to its child VIEW
Repository: phoenix Updated Branches: refs/heads/4.0 d83fce9cc - 22c3d167d PHOENIX-1368 Persist link from VIEW back to its child VIEW Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/22c3d167 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/22c3d167 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/22c3d167 Branch: refs/heads/4.0 Commit: 22c3d167d92adfe4ec66dbfe3a3be93e703d93da Parents: d83fce9 Author: James Taylor jtay...@salesforce.com Authored: Sun Oct 19 23:46:39 2014 -0700 Committer: James Taylor jtay...@salesforce.com Committed: Sun Oct 19 23:48:25 2014 -0700 -- .../coprocessor/MetaDataEndpointImpl.java | 2 -- .../phoenix/jdbc/PhoenixDatabaseMetaData.java | 4 .../apache/phoenix/schema/MetaDataClient.java | 22 .../java/org/apache/phoenix/schema/PTable.java | 6 +- 4 files changed, 31 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/22c3d167/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java index 047a947..b90fb2e 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java @@ -595,8 +595,6 @@ public class MetaDataEndpointImpl extends MetaDataProtocol implements Coprocesso addIndexToTable(tenantId, schemaName, famName, tableName, clientTimeStamp, indexes); } else if (linkType == LinkType.PHYSICAL_TABLE) { physicalTables.add(famName); - } else { - logger.warn(Unknown link type: + colKv.getValueArray()[colKv.getValueOffset()] + for + SchemaUtil.getTableName(schemaName.getString(), tableName.getString())); } } else { addColumnToTable(results, colName, famName, colKeyValues, columns, saltBucketNum != null); http://git-wip-us.apache.org/repos/asf/phoenix/blob/22c3d167/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java b/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java index 54dfae3..a4976cb 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java @@ -250,6 +250,10 @@ public class PhoenixDatabaseMetaData implements DatabaseMetaData, org.apache.pho public static final byte[] MAX_KEY_BYTES = Bytes.toBytes(MAX_KEY); public static final String LAST_STATS_UPDATE_TIME = LAST_STATS_UPDATE_TIME; public static final byte[] LAST_STATS_UPDATE_TIME_BYTES = Bytes.toBytes(LAST_STATS_UPDATE_TIME); + +public static final String PARENT_TENANT_ID = PARENT_TENANT_ID; +public static final byte[] PARENT_TENANT_ID_BYTES = Bytes.toBytes(PARENT_TENANT_ID); + private final PhoenixConnection connection; private final ResultSet emptyResultSet; http://git-wip-us.apache.org/repos/asf/phoenix/blob/22c3d167/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java b/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java index 924906e..1f26274 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java @@ -42,6 +42,7 @@ import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.LINK_TYPE; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.MULTI_TENANT; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.NULLABLE; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.ORDINAL_POSITION; +import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.PARENT_TENANT_ID; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.PHYSICAL_NAME; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.PK_NAME; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.REGION_NAME; @@ -185,6 +186,15 @@ public class MetaDataClient { COLUMN_FAMILY + , + LINK_TYPE + ) VALUES (?, ?, ?, ?, ?); +private static final String
git commit: PHOENIX-1368 Persist link from VIEW back to its child VIEW
Repository: phoenix Updated Branches: refs/heads/3.0 d9e58958a - d3f01f3b2 PHOENIX-1368 Persist link from VIEW back to its child VIEW Conflicts: phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/d3f01f3b Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/d3f01f3b Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/d3f01f3b Branch: refs/heads/3.0 Commit: d3f01f3b2d2772bdd56ac5876e7b6b86aaa8dd43 Parents: d9e5895 Author: James Taylor jtay...@salesforce.com Authored: Sun Oct 19 23:46:39 2014 -0700 Committer: James Taylor jtay...@salesforce.com Committed: Sun Oct 19 23:52:49 2014 -0700 -- .../coprocessor/MetaDataEndpointImpl.java | 2 -- .../phoenix/jdbc/PhoenixDatabaseMetaData.java | 4 .../apache/phoenix/schema/MetaDataClient.java | 22 .../java/org/apache/phoenix/schema/PTable.java | 6 +- 4 files changed, 31 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/d3f01f3b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java index 0f6fa27..f7c0aae 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java @@ -452,8 +452,6 @@ public class MetaDataEndpointImpl extends BaseEndpointCoprocessor implements Met addIndexToTable(tenantId, schemaName, famName, tableName, clientTimeStamp, indexes); } else if (linkType == LinkType.PHYSICAL_TABLE) { physicalTables.add(famName); -} else { -logger.warn(Unknown link type: + colKv.getBuffer()[colKv.getValueOffset()] + for + SchemaUtil.getTableName(schemaName.getString(), tableName.getString())); } } else { addColumnToTable(results, colName, famName, colKeyValues, columns, saltBucketNum != null); http://git-wip-us.apache.org/repos/asf/phoenix/blob/d3f01f3b/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java b/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java index 852bbb1..f0b709c 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixDatabaseMetaData.java @@ -248,6 +248,10 @@ public class PhoenixDatabaseMetaData implements DatabaseMetaData, org.apache.pho public static final byte[] MAX_KEY_BYTES = Bytes.toBytes(MAX_KEY); public static final String LAST_STATS_UPDATE_TIME = LAST_STATS_UPDATE_TIME; public static final byte[] LAST_STATS_UPDATE_TIME_BYTES = Bytes.toBytes(LAST_STATS_UPDATE_TIME); + +public static final String PARENT_TENANT_ID = PARENT_TENANT_ID; +public static final byte[] PARENT_TENANT_ID_BYTES = Bytes.toBytes(PARENT_TENANT_ID); + private final PhoenixConnection connection; private final ResultSet emptyResultSet; http://git-wip-us.apache.org/repos/asf/phoenix/blob/d3f01f3b/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java b/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java index 3941e17..5ce2f93 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/schema/MetaDataClient.java @@ -41,6 +41,7 @@ import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.LINK_TYPE; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.MULTI_TENANT; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.NULLABLE; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.ORDINAL_POSITION; +import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.PARENT_TENANT_ID; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.PHYSICAL_NAME; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.PK_NAME; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.REGION_NAME; @@ -174,6 +175,15 @@ public class MetaDataClient {
Apache-Phoenix | Master | Build Successful
Master branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf/phoenix.git 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 [jtaylor] PHOENIX-1368 Persist link from VIEW back to its child VIEW
svn commit: r1633072 [2/2] - in /phoenix: phoenix-docs/src/docsrc/help/ phoenix-docs/src/main/org/h2/ phoenix-docs/src/main/org/h2/jdbc/ phoenix-docs/src/main/org/h2/jdbcx/ phoenix-docs/src/main/org/h
Added: phoenix/site/publish/update_statistics.html URL: http://svn.apache.org/viewvc/phoenix/site/publish/update_statistics.html?rev=1633072view=auto == --- phoenix/site/publish/update_statistics.html (added) +++ phoenix/site/publish/update_statistics.html Mon Oct 20 08:07:42 2014 @@ -0,0 +1,361 @@ + +!DOCTYPE html +!-- + Generated by Apache Maven Doxia at 2014-10-20 + Rendered using Reflow Maven Skin 1.1.0 (http://andriusvelykis.github.io/reflow-maven-skin) +-- +html xml:lang=en lang=en + + head + meta charset=UTF-8 / + titleStatistics Collection | Apache Phoenix/title + meta name=viewport content=width=device-width, initial-scale=1.0 / + meta name=description content= / + meta http-equiv=content-language content=en / + + link href=http://netdna.bootstrapcdn.com/bootswatch/2.3.2/united/bootstrap.min.css; rel=stylesheet / + link href=http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-responsive.min.css; rel=stylesheet / + link href=./css/bootswatch.css rel=stylesheet / + link href=./css/reflow-skin.css rel=stylesheet / + + link href=http://yandex.st/highlightjs/7.5/styles/default.min.css; rel=stylesheet / + + link href=./css/lightbox.css rel=stylesheet / + + link href=./css/site.css rel=stylesheet / + link href=./css/print.css rel=stylesheet media=print / + + !-- Le HTML5 shim, for IE6-8 support of HTML5 elements -- + !--[if lt IE 9] + script src=http://html5shim.googlecode.com/svn/trunk/html5.js;/script + ![endif]-- + + + + /head + + body class=page-update_statistics project-phoenix-site data-spy=scroll data-offset=60 data-target=#toc-scroll-target + + div class=navbar navbar-fixed-top + div class=navbar-inner + div class=container + a class=btn btn-navbar data-toggle=collapse data-target=#top-nav-collapse + span class=icon-bar/span + span class=icon-bar/span + span class=icon-bar/span + /a + a class=brand href=index.htmldiv class=xtoplogo/div/a + div class=nav-collapse collapse id=top-nav-collapse + ul class=nav pull-right + li class=dropdown + a href=# class=dropdown-toggle data-toggle=dropdownAbout b class=caret/b/a + ul class=dropdown-menu + li a href=index.html title=OverviewOverview/a/li + li a href=recent.html title=New FeaturesNew Features/a/li + li a href=roadmap.html title=RoadmapRoadmap/a/li + li a href=performance.html title=PerformancePerformance/a/li + li a href=team.html title=TeamTeam/a/li + li a href=contributing.html title=ContributingContributing/a/li + li a href=resources.html title=ResourcesResources/a/li + li a href=mailing_list.html title=Mailing ListsMailing Lists/a/li + li a href=source.html title=Source RepositorySource Repository/a/li + li a href=issues.html title=Issue TrackingIssue Tracking/a/li + li a href=download.html title=DownloadDownload/a/li + li class=divider/ + li a href=http://www.apache.org/licenses/; title=License class=externalLinkLicense/a/li + li a href=http://www.apache.org/foundation/sponsorship.html; title=Sponsorship class=externalLinkSponsorship/a/li +
svn commit: r1633072 [1/2] - in /phoenix: phoenix-docs/src/docsrc/help/ phoenix-docs/src/main/org/h2/ phoenix-docs/src/main/org/h2/jdbc/ phoenix-docs/src/main/org/h2/jdbcx/ phoenix-docs/src/main/org/h
Author: jamestaylor Date: Mon Oct 20 08:07:42 2014 New Revision: 1633072 URL: http://svn.apache.org/r1633072 Log: Updates for 3.2/4.2 release Added: phoenix/site/publish/update_statistics.html Modified: phoenix/phoenix-docs/src/docsrc/help/phoenix.csv phoenix/phoenix-docs/src/main/org/h2/Driver.java phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcCallableStatement.java phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcConnection.java phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcDatabaseMetaData.java phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcResultSet.java phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcStatement.java phoenix/phoenix-docs/src/main/org/h2/jdbcx/JdbcConnectionPool.java phoenix/phoenix-docs/src/main/org/h2/jdbcx/JdbcDataSource.java phoenix/phoenix-docs/src/main/org/h2/tools/SimpleResultSet.java phoenix/phoenix-docs/src/tools/org/h2/build/doc/dictionary.txt phoenix/site/publish/Phoenix-in-15-minutes-or-less.html phoenix/site/publish/array_type.html phoenix/site/publish/building.html phoenix/site/publish/building_website.html phoenix/site/publish/bulk_dataload.html phoenix/site/publish/contributing.html phoenix/site/publish/download.html phoenix/site/publish/dynamic_columns.html phoenix/site/publish/faq.html phoenix/site/publish/flume.html phoenix/site/publish/index.html phoenix/site/publish/issues.html phoenix/site/publish/joins.html phoenix/site/publish/language/datatypes.html phoenix/site/publish/language/functions.html phoenix/site/publish/language/index.html phoenix/site/publish/mailing_list.html phoenix/site/publish/multi-tenancy.html phoenix/site/publish/paged.html phoenix/site/publish/performance.html phoenix/site/publish/phoenix_on_emr.html phoenix/site/publish/pig_integration.html phoenix/site/publish/recent.html phoenix/site/publish/release.html phoenix/site/publish/resources.html phoenix/site/publish/roadmap.html phoenix/site/publish/salted.html phoenix/site/publish/secondary_indexing.html phoenix/site/publish/sequences.html phoenix/site/publish/skip_scan.html phoenix/site/publish/source.html phoenix/site/publish/team.html phoenix/site/publish/tracing.html phoenix/site/publish/tuning.html phoenix/site/publish/upgrade_from_2_2.html phoenix/site/publish/views.html phoenix/site/source/src/site/markdown/recent.md phoenix/site/source/src/site/markdown/roadmap.md phoenix/site/source/src/site/markdown/update_statistics.md phoenix/site/source/src/site/site.xml Modified: phoenix/phoenix-docs/src/docsrc/help/phoenix.csv URL: http://svn.apache.org/viewvc/phoenix/phoenix-docs/src/docsrc/help/phoenix.csv?rev=1633072r1=1633071r2=1633072view=diff == --- phoenix/phoenix-docs/src/docsrc/help/phoenix.csv (original) +++ phoenix/phoenix-docs/src/docsrc/help/phoenix.csv Mon Oct 20 08:07:42 2014 @@ -250,8 +250,16 @@ CONSTRAINT my_pk PRIMARY KEY (host ASC,c Commands,UPDATE STATISTICS, UPDATE STATISTICS tableRef [ALL | INDEX | COLUMNS] , -Updates the statistics i.e collects the guideposts on the table and all its associated index tables, -views and view indices. +Updates the statistics on the table and by default all of its associated index tables. To only +update the table, use the COLUMNS option and to only update the INDEX, use the INDEX option. +Note that the statistics for a single index may also be updated by using its full index name +for the tableRef. + +, +UPDATE STATISTICS my_table +UPDATE STATISTICS my_schema.my_table INDEX +UPDATE STATISTICS my_index +UPDATE STATISTICS my_table COLUMNS Other Grammar,Options, Modified: phoenix/phoenix-docs/src/main/org/h2/Driver.java URL: http://svn.apache.org/viewvc/phoenix/phoenix-docs/src/main/org/h2/Driver.java?rev=1633072r1=1633071r2=1633072view=diff == --- phoenix/phoenix-docs/src/main/org/h2/Driver.java (original) +++ phoenix/phoenix-docs/src/main/org/h2/Driver.java Mon Oct 20 08:07:42 2014 @@ -17,7 +17,7 @@ import org.h2.message.DbException; import org.h2.message.TraceSystem; import org.h2.upgrade.DbUpgrade; -//## Java 1.7 ## +/*## Java 1.7 ## import java.util.logging.Logger; //*/ @@ -138,7 +138,7 @@ public class Driver implements java.sql. /** * [Not supported] */ -//## Java 1.7 ## +/*## Java 1.7 ## public Logger getParentLogger() { return null; } Modified: phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcCallableStatement.java URL: http://svn.apache.org/viewvc/phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcCallableStatement.java?rev=1633072r1=1633071r2=1633072view=diff == --- phoenix/phoenix-docs/src/main/org/h2/jdbc/JdbcCallableStatement.java (original) +++
Apache-Phoenix | 4.0 | Build Successful
4.0 branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf/incubator-phoenix.git Compiled Artifacts https://builds.apache.org/job/Phoenix-4.0/lastSuccessfulBuild/artifact/ Test Report https://builds.apache.org/job/Phoenix-4.0/lastCompletedBuild/testReport/ Changes [jtaylor] PHOENIX-1368 Persist link from VIEW back to its child VIEW
git commit: PHOENIX-1314 Assertion tripped for skip scan with two unit tests-addendum(Rajeshbabu)
Repository: phoenix Updated Branches: refs/heads/master 91004269a - ea6b05386 PHOENIX-1314 Assertion tripped for skip scan with two unit tests-addendum(Rajeshbabu) Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/ea6b0538 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/ea6b0538 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/ea6b0538 Branch: refs/heads/master Commit: ea6b05386493380b7cd2de9a54185a62b608b801 Parents: 9100426 Author: Rajeshbabu Chintaguntla rajeshb...@apache.org Authored: Mon Oct 20 15:53:34 2014 + Committer: Rajeshbabu Chintaguntla rajeshb...@apache.org Committed: Mon Oct 20 15:53:34 2014 + -- .../phoenix/end2end/index/MutableIndexIT.java | 81 .../apache/phoenix/filter/SkipScanFilter.java | 7 +- 2 files changed, 86 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/ea6b0538/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexIT.java -- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexIT.java index 75b6c4e..429f96c 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexIT.java @@ -1249,4 +1249,85 @@ public class MutableIndexIT extends BaseMutableIndexIT { } } +@Test +public void testSkipScanFilterWhenTableHasMultipleColumnFamilies() throws Exception { +Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES); +Connection conn = DriverManager.getConnection(getUrl(), props); +conn.setAutoCommit(false); +try { +createTestTable(); +populateTestTable(); +String upsert = UPSERT INTO + DATA_TABLE_FULL_NAME ++ VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?); +PreparedStatement stmt = conn.prepareStatement(upsert); +stmt.setString(1, varchar4); +stmt.setString(2, char1); +stmt.setInt(3, 1); +stmt.setLong(4, 1L); +stmt.setBigDecimal(5, new BigDecimal(1.1)); +stmt.setString(6, varchar_a); +stmt.setString(7, chara); +stmt.setInt(8, 2); +stmt.setLong(9, 2L); +stmt.setBigDecimal(10, new BigDecimal(2.1)); +stmt.setString(11, varchar_b); +stmt.setString(12, charb); +stmt.setInt(13, 3); +stmt.setLong(14, 3L); +stmt.setBigDecimal(15, new BigDecimal(3.1)); +stmt.setDate(16, null); +stmt.executeUpdate(); + +stmt.setString(1, varchar5); +stmt.setString(2, char2); +stmt.setInt(3, 2); +stmt.setLong(4, 2L); +stmt.setBigDecimal(5, new BigDecimal(2.2)); +stmt.setString(6, varchar_a); +stmt.setString(7, chara); +stmt.setInt(8, 3); +stmt.setLong(9, 3L); +stmt.setBigDecimal(10, new BigDecimal(3.2)); +stmt.setString(11, varchar_b); +stmt.setString(12, charb); +stmt.setInt(13, 4); +stmt.setLong(14, 4L); +stmt.setBigDecimal(15, new BigDecimal(4.2)); +stmt.setDate(16, null); +stmt.executeUpdate(); + +stmt.setString(1, varchar6); +stmt.setString(2, char3); +stmt.setInt(3, 3); +stmt.setLong(4, 3L); +stmt.setBigDecimal(5, new BigDecimal(3.3)); +stmt.setString(6, varchar_a); +stmt.setString(7, chara); +stmt.setInt(8, 4); +stmt.setLong(9, 4L); +stmt.setBigDecimal(10, new BigDecimal(4.3)); +stmt.setString(11, varchar_b); +stmt.setString(12, charb); +stmt.setInt(13, 5); +stmt.setLong(14, 5L); +stmt.setBigDecimal(15, new BigDecimal(5.3)); +stmt.setDate(16, null); +stmt.executeUpdate(); +conn.commit(); +String query = SELECT char_col1, int_col1, long_col2 from + DATA_TABLE_FULL_NAME + where varchar_pk in ('varchar3','varchar6'); +ResultSet rs = conn.createStatement().executeQuery(query); +assertTrue(rs.next()); +assertEquals(chara, rs.getString(1)); +assertEquals(4, rs.getInt(2)); +assertEquals(5L, rs.getLong(3)); +assertTrue(rs.next()); +assertEquals(chara, rs.getString(1)); +assertEquals(4, rs.getInt(2)); +assertEquals(5L,
git commit: PHOENIX-1314 Assertion tripped for skip scan with two unit tests-addendum(Rajeshbabu)
Repository: phoenix Updated Branches: refs/heads/4.0 22c3d167d - 9588b3241 PHOENIX-1314 Assertion tripped for skip scan with two unit tests-addendum(Rajeshbabu) Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/9588b324 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/9588b324 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/9588b324 Branch: refs/heads/4.0 Commit: 9588b32411ed1f5455bb625e854d886851bcf9b0 Parents: 22c3d16 Author: Rajeshbabu Chintaguntla rajeshb...@apache.org Authored: Mon Oct 20 15:55:06 2014 + Committer: Rajeshbabu Chintaguntla rajeshb...@apache.org Committed: Mon Oct 20 15:55:06 2014 + -- .../phoenix/end2end/index/MutableIndexIT.java | 81 .../apache/phoenix/filter/SkipScanFilter.java | 7 +- 2 files changed, 86 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/9588b324/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexIT.java -- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexIT.java index 75b6c4e..429f96c 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/MutableIndexIT.java @@ -1249,4 +1249,85 @@ public class MutableIndexIT extends BaseMutableIndexIT { } } +@Test +public void testSkipScanFilterWhenTableHasMultipleColumnFamilies() throws Exception { +Properties props = PropertiesUtil.deepCopy(TEST_PROPERTIES); +Connection conn = DriverManager.getConnection(getUrl(), props); +conn.setAutoCommit(false); +try { +createTestTable(); +populateTestTable(); +String upsert = UPSERT INTO + DATA_TABLE_FULL_NAME ++ VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?); +PreparedStatement stmt = conn.prepareStatement(upsert); +stmt.setString(1, varchar4); +stmt.setString(2, char1); +stmt.setInt(3, 1); +stmt.setLong(4, 1L); +stmt.setBigDecimal(5, new BigDecimal(1.1)); +stmt.setString(6, varchar_a); +stmt.setString(7, chara); +stmt.setInt(8, 2); +stmt.setLong(9, 2L); +stmt.setBigDecimal(10, new BigDecimal(2.1)); +stmt.setString(11, varchar_b); +stmt.setString(12, charb); +stmt.setInt(13, 3); +stmt.setLong(14, 3L); +stmt.setBigDecimal(15, new BigDecimal(3.1)); +stmt.setDate(16, null); +stmt.executeUpdate(); + +stmt.setString(1, varchar5); +stmt.setString(2, char2); +stmt.setInt(3, 2); +stmt.setLong(4, 2L); +stmt.setBigDecimal(5, new BigDecimal(2.2)); +stmt.setString(6, varchar_a); +stmt.setString(7, chara); +stmt.setInt(8, 3); +stmt.setLong(9, 3L); +stmt.setBigDecimal(10, new BigDecimal(3.2)); +stmt.setString(11, varchar_b); +stmt.setString(12, charb); +stmt.setInt(13, 4); +stmt.setLong(14, 4L); +stmt.setBigDecimal(15, new BigDecimal(4.2)); +stmt.setDate(16, null); +stmt.executeUpdate(); + +stmt.setString(1, varchar6); +stmt.setString(2, char3); +stmt.setInt(3, 3); +stmt.setLong(4, 3L); +stmt.setBigDecimal(5, new BigDecimal(3.3)); +stmt.setString(6, varchar_a); +stmt.setString(7, chara); +stmt.setInt(8, 4); +stmt.setLong(9, 4L); +stmt.setBigDecimal(10, new BigDecimal(4.3)); +stmt.setString(11, varchar_b); +stmt.setString(12, charb); +stmt.setInt(13, 5); +stmt.setLong(14, 5L); +stmt.setBigDecimal(15, new BigDecimal(5.3)); +stmt.setDate(16, null); +stmt.executeUpdate(); +conn.commit(); +String query = SELECT char_col1, int_col1, long_col2 from + DATA_TABLE_FULL_NAME + where varchar_pk in ('varchar3','varchar6'); +ResultSet rs = conn.createStatement().executeQuery(query); +assertTrue(rs.next()); +assertEquals(chara, rs.getString(1)); +assertEquals(4, rs.getInt(2)); +assertEquals(5L, rs.getLong(3)); +assertTrue(rs.next()); +assertEquals(chara, rs.getString(1)); +assertEquals(4, rs.getInt(2)); +assertEquals(5L,
Apache-Phoenix | 4.0 | Build Successful
4.0 branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf/incubator-phoenix.git Compiled Artifacts https://builds.apache.org/job/Phoenix-4.0/lastSuccessfulBuild/artifact/ Test Report https://builds.apache.org/job/Phoenix-4.0/lastCompletedBuild/testReport/ Changes [rajeshbabu] PHOENIX-1314 Assertion tripped for skip scan with two unit tests-addendum(Rajeshbabu)
Build failed in Jenkins: Phoenix | Master #447
See https://builds.apache.org/job/Phoenix-master/447/changes Changes: [rajeshbabu] PHOENIX-1314 Assertion tripped for skip scan with two unit tests-addendum(Rajeshbabu) -- [...truncated 462 lines...] Running org.apache.phoenix.end2end.TopNIT Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.696 sec - in org.apache.phoenix.end2end.VariableLengthPKIT Running org.apache.phoenix.end2end.SpooledOrderByIT Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.382 sec - in org.apache.phoenix.end2end.SpooledOrderByIT Running org.apache.phoenix.end2end.SequenceIT Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.285 sec - in org.apache.phoenix.end2end.TopNIT Running org.apache.phoenix.end2end.DynamicUpsertIT Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.161 sec - in org.apache.phoenix.end2end.QueryDatabaseMetaDataIT Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.094 sec - in org.apache.phoenix.end2end.DynamicUpsertIT Running org.apache.phoenix.end2end.ExtendedQueryExecIT Running org.apache.phoenix.end2end.NativeHBaseTypesIT Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.602 sec - in org.apache.phoenix.end2end.NativeHBaseTypesIT Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.195 sec - in org.apache.phoenix.end2end.ExtendedQueryExecIT Running org.apache.phoenix.end2end.CastAndCoerceIT Running org.apache.phoenix.end2end.ToNumberFunctionIT Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.661 sec - in org.apache.phoenix.end2end.ToNumberFunctionIT Running org.apache.phoenix.end2end.ColumnProjectionOptimizationIT Tests run: 63, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.382 sec - in org.apache.phoenix.end2end.CaseStatementIT Running org.apache.phoenix.end2end.ClientTimeArithmeticQueryIT Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.386 sec - in org.apache.phoenix.end2end.ColumnProjectionOptimizationIT Running org.apache.phoenix.end2end.FunkyNamesIT Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.611 sec - in org.apache.phoenix.end2end.FunkyNamesIT Running org.apache.phoenix.end2end.QueryIT Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.371 sec - in org.apache.phoenix.end2end.SequenceIT Running org.apache.phoenix.end2end.UpsertSelectIT Tests run: 91, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 77.191 sec - in org.apache.phoenix.end2end.GroupByIT Running org.apache.phoenix.end2end.ProductMetricsIT Tests run: 49, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.902 sec - in org.apache.phoenix.end2end.CastAndCoerceIT Running org.apache.phoenix.end2end.UpsertValuesIT Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.233 sec - in org.apache.phoenix.end2end.UpsertSelectIT Running org.apache.phoenix.end2end.salted.SaltedTableIT Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.512 sec - in org.apache.phoenix.end2end.salted.SaltedTableIT Running org.apache.phoenix.end2end.ScanQueryIT Tests run: 61, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.615 sec - in org.apache.phoenix.end2end.ProductMetricsIT Running org.apache.phoenix.end2end.CreateTableIT Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.488 sec - in org.apache.phoenix.end2end.UpsertValuesIT Running org.apache.phoenix.end2end.CompareDecimalToLongIT Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.822 sec - in org.apache.phoenix.end2end.CompareDecimalToLongIT Running org.apache.phoenix.end2end.ArrayIT Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.528 sec - in org.apache.phoenix.end2end.CreateTableIT Running org.apache.phoenix.end2end.TruncateFunctionIT Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.766 sec - in org.apache.phoenix.end2end.TruncateFunctionIT Running org.apache.phoenix.end2end.RowValueConstructorIT Tests run: 48, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.529 sec - in org.apache.phoenix.end2end.ArrayIT Running org.apache.phoenix.end2end.NotQueryIT Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.046 sec - in org.apache.phoenix.end2end.RowValueConstructorIT Running org.apache.phoenix.end2end.IsNullIT Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.423 sec - in org.apache.phoenix.end2end.IsNullIT Running org.apache.phoenix.end2end.PercentileIT Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.376 sec - in org.apache.phoenix.end2end.PercentileIT Running org.apache.phoenix.end2end.DistinctCountIT Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.724 sec - in org.apache.phoenix.end2end.DistinctCountIT Running org.apache.phoenix.end2end.InMemoryOrderByIT Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.365 sec - in org.apache.phoenix.end2end.InMemoryOrderByIT Tests
git commit: Prepare for v4.2.0 release
Repository: phoenix Updated Branches: refs/heads/4.0 9588b3241 - 98b2fc3bf Prepare for v4.2.0 release Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/98b2fc3b Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/98b2fc3b Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/98b2fc3b Branch: refs/heads/4.0 Commit: 98b2fc3bf9d00026a8c89fb0866bea2ef64bd096 Parents: 9588b32 Author: Mujtaba mujt...@apache.org Authored: Mon Oct 20 12:30:38 2014 -0700 Committer: Mujtaba mujt...@apache.org Committed: Mon Oct 20 12:30:38 2014 -0700 -- CHANGES | 96 +++- README | 53 --- dev/make_rc.sh | 42 - phoenix-assembly/pom.xml| 2 +- phoenix-core/pom.xml| 2 +- .../phoenix/end2end/StatsCollectorIT.java | 19 +++- .../phoenix/coprocessor/SuffixFilter.java | 19 +++- phoenix-flume/pom.xml | 2 +- phoenix-hadoop-compat/pom.xml | 2 +- phoenix-hadoop2-compat/pom.xml | 2 +- phoenix-pig/pom.xml | 2 +- pom.xml | 3 +- 12 files changed, 157 insertions(+), 87 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/98b2fc3b/CHANGES -- diff --git a/CHANGES b/CHANGES index 122d7d5..693eb4a 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,99 @@ -Release Notes - Phoenix - Version 4.1 +Release Notes - Phoenix - Version 4.2 + +** New Feature and Sub-task +* [PHOENIX-167] - Support semi/anti-joins +* [PHOENIX-180] - Use stats to guide query parallelization +* [PHOENIX-943] - Handle pushed down post-filters for subquery in joins with limit and non-groupby aggregation +* [PHOENIX-945] - Support correlated subqueries in comparison without ANY/SOME/ALL +* [PHOENIX-1249] - Support local immutable index +* [PHOENIX-1259] - Perform partial scan for ANALYZE when table salted or local index +* [PHOENIX-1263] - Only cache guideposts on physical PTable +* [PHOENIX-1264] - Add StatisticsCollector to existing tables on first connection to cluster +* [PHOENIX-1296] - Scan entire region when tenant-specific table is analyzed +* [PHOENIX-1309] - Ensure Phoenix table is created for Local index and view index tables to store guideposts against them +* [PHOENIX-1320] - Update stats atomically +* [PHOENIX-1321] - Cleanup setting of timestamps when collecting and using stats +* [PHOENIX-1322] - Add documentation for UPDATE STATISTICS command +* [PHOENIX-1328] - Update ANALYZE syntax to collect stats on index tables and all tables +* [PHOENIX-1332] - Support correlated subqueries in comparison with ANY/SOME/ALL +* [PHOENIX-1333] - Store statistics guideposts as VARBINARY +* [PHOENIX-1254] - Add REGEXP_SPLIT function + +** Bug +* [PHOENIX-105] - Remove org.apache.commons.csv source once available in Maven repo +* [PHOENIX-973] - Lexer skips unexpected characters +* [PHOENIX-1044] - Phoenix-Pig: No results returned unless all used columns are selected +* [PHOENIX-1098] - Support CASCADE option on DROP TABLE that drops all VIEWs +* [PHOENIX-1107] - Support mutable indexes over replication +* [PHOENIX-1139] - Failed to disable local index when index update fails +* [PHOENIX-1203] - Uable to work for count (distinct col) queries via phoenix table with secondary indexes +* [PHOENIX-1206] - Decimal serialization broken for negative numbers with more than 19 digits of precision +* [PHOENIX-1208] - Check for existence of views doesn't take into account the fact that SYSTEM.CATALOG could be split across regions +* [PHOENIX-1211] - Use skip scan when row value constructor uses leading row key columns +* [PHOENIX-1214] - SYSTEM.CATALOG cannot be created when first connection to cluster is tenant-specific +* [PHOENIX-1223] - arrays of byte[]s don't encode for null bytes +* [PHOENIX-1225] - Evaluation of OR between columns in PK and not in PK incorrect +* [PHOENIX-1228] - NPE in select max(c1) when c1 is a CHAR field +* [PHOENIX-1237] - COALESCE Function - type of second parameter +* [PHOENIX-1238] - Rollback index region split on any split failure +* [PHOENIX-1239] - IN clause (and some others) cannot get moved from HAVING clause to WHERE clause when qualified +* [PHOENIX-1242] - ArrayoutofBoundException Phoenix mapping to exisiting Hbase +* [PHOENIX-1248] - CsvBulkLoadTool is failing with IAE when local index specified for --index-table parameter +*
Git Push Summary
Repository: phoenix Updated Tags: refs/tags/v4.2.0-rc0 [created] 49889fe9e
Git Push Summary
Repository: phoenix Updated Tags: refs/tags/v4.2.0-rc0 [deleted] 49889fe9e
git commit: PHOENIX-1369 Add back encode/decode methods as deprecated
Repository: phoenix Updated Branches: refs/heads/4.0 98b2fc3bf - 81e2fdc72 PHOENIX-1369 Add back encode/decode methods as deprecated Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/81e2fdc7 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/81e2fdc7 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/81e2fdc7 Branch: refs/heads/4.0 Commit: 81e2fdc728063f22f16b312ce37fbc98f38b2b5c Parents: 98b2fc3 Author: James Taylor jamestay...@apache.org Authored: Mon Oct 20 12:57:37 2014 -0700 Committer: James Taylor jamestay...@apache.org Committed: Mon Oct 20 12:57:37 2014 -0700 -- .../org/apache/phoenix/util/PhoenixRuntime.java | 79 1 file changed, 79 insertions(+) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/81e2fdc7/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java b/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java index 0c82543..36c5822 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java @@ -591,6 +591,85 @@ public class PhoenixRuntime { } /** + * Encode the primary key values from the table as a byte array. The values must + * be in the same order as the primary key constraint. If the connection and + * table are both tenant-specific, the tenant ID column must not be present in + * the values. + * @param conn an open connection + * @param fullTableName the full table name + * @param values the values of the primary key columns ordered in the same order + * as the primary key constraint + * @return the encoded byte array + * @throws SQLException if the table cannot be found or the incorrect number of + * of values are provided + * @see #decodePK(Connection, String, byte[]) to decode the byte[] back to the + * values + */ +@Deprecated +public static byte[] encodePK(Connection conn, String fullTableName, Object[] values) throws SQLException { +PTable table = getTable(conn, fullTableName); +PhoenixConnection pconn = conn.unwrap(PhoenixConnection.class); +int offset = (table.getBucketNum() == null ? 0 : 1) + (table.isMultiTenant() pconn.getTenantId() != null ? 1 : 0); +ListPColumn pkColumns = table.getPKColumns(); +if (pkColumns.size() - offset != values.length) { +throw new SQLException(Expected + (pkColumns.size() - offset) + but got + values.length); +} +PDataType type = null; +TrustedByteArrayOutputStream output = new TrustedByteArrayOutputStream(table.getRowKeySchema().getEstimatedValueLength()); +try { +for (int i = offset; i pkColumns.size(); i++) { +if (type != null !type.isFixedWidth()) { +output.write(QueryConstants.SEPARATOR_BYTE); +} +type = pkColumns.get(i).getDataType(); + +//for fixed width data types like CHAR and BINARY, we need to pad values to be of max length. +Object paddedObj = type.pad(values[i - offset], pkColumns.get(i).getMaxLength()); +byte[] value = type.toBytes(paddedObj); +output.write(value); +} +return output.toByteArray(); +} finally { +try { +output.close(); +} catch (IOException e) { +throw new RuntimeException(e); // Impossible +} +} +} + +/** + * Decode a byte array value back into the Object values of the + * primary key constraint. If the connection and table are both + * tenant-specific, the tenant ID column is not expected to have + * been encoded and will not appear in the returned values. + * @param conn an open connection + * @param name the full table name + * @param encodedValue the value that was encoded with {@link #encodePK(Connection, String, Object[])} + * @return the Object values encoded in the byte array value + * @throws SQLException + */ +@Deprecated +public static Object[] decodePK(Connection conn, String name, byte[] value) throws SQLException { +PTable table = getTable(conn, name); +PhoenixConnection pconn = conn.unwrap(PhoenixConnection.class); +int offset = (table.getBucketNum() == null ? 0 : 1) + (table.isMultiTenant() pconn.getTenantId() != null ? 1 : 0); +int nValues = table.getPKColumns().size() - offset; +RowKeySchema schema = table.getRowKeySchema(); +
[1/2] git commit: PHOENIX-1369 Add back encode/decode methods as deprecated
Repository: phoenix Updated Branches: refs/heads/master ea6b05386 - dc7e8c0e6 PHOENIX-1369 Add back encode/decode methods as deprecated Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/eee98b67 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/eee98b67 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/eee98b67 Branch: refs/heads/master Commit: eee98b673d03b65dfa472d29246f8d3d0e612abe Parents: ea6b053 Author: James Taylor jamestay...@apache.org Authored: Mon Oct 20 12:57:37 2014 -0700 Committer: James Taylor jamestay...@apache.org Committed: Mon Oct 20 12:59:14 2014 -0700 -- .../org/apache/phoenix/util/PhoenixRuntime.java | 79 1 file changed, 79 insertions(+) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/eee98b67/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java b/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java index 8755fcd..cf102db 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java @@ -588,6 +588,85 @@ public class PhoenixRuntime { } /** + * Encode the primary key values from the table as a byte array. The values must + * be in the same order as the primary key constraint. If the connection and + * table are both tenant-specific, the tenant ID column must not be present in + * the values. + * @param conn an open connection + * @param fullTableName the full table name + * @param values the values of the primary key columns ordered in the same order + * as the primary key constraint + * @return the encoded byte array + * @throws SQLException if the table cannot be found or the incorrect number of + * of values are provided + * @see #decodePK(Connection, String, byte[]) to decode the byte[] back to the + * values + */ +@Deprecated +public static byte[] encodePK(Connection conn, String fullTableName, Object[] values) throws SQLException { +PTable table = getTable(conn, fullTableName); +PhoenixConnection pconn = conn.unwrap(PhoenixConnection.class); +int offset = (table.getBucketNum() == null ? 0 : 1) + (table.isMultiTenant() pconn.getTenantId() != null ? 1 : 0); +ListPColumn pkColumns = table.getPKColumns(); +if (pkColumns.size() - offset != values.length) { +throw new SQLException(Expected + (pkColumns.size() - offset) + but got + values.length); +} +PDataType type = null; +TrustedByteArrayOutputStream output = new TrustedByteArrayOutputStream(table.getRowKeySchema().getEstimatedValueLength()); +try { +for (int i = offset; i pkColumns.size(); i++) { +if (type != null !type.isFixedWidth()) { +output.write(QueryConstants.SEPARATOR_BYTE); +} +type = pkColumns.get(i).getDataType(); + +//for fixed width data types like CHAR and BINARY, we need to pad values to be of max length. +Object paddedObj = type.pad(values[i - offset], pkColumns.get(i).getMaxLength()); +byte[] value = type.toBytes(paddedObj); +output.write(value); +} +return output.toByteArray(); +} finally { +try { +output.close(); +} catch (IOException e) { +throw new RuntimeException(e); // Impossible +} +} +} + +/** + * Decode a byte array value back into the Object values of the + * primary key constraint. If the connection and table are both + * tenant-specific, the tenant ID column is not expected to have + * been encoded and will not appear in the returned values. + * @param conn an open connection + * @param name the full table name + * @param encodedValue the value that was encoded with {@link #encodePK(Connection, String, Object[])} + * @return the Object values encoded in the byte array value + * @throws SQLException + */ +@Deprecated +public static Object[] decodePK(Connection conn, String name, byte[] value) throws SQLException { +PTable table = getTable(conn, name); +PhoenixConnection pconn = conn.unwrap(PhoenixConnection.class); +int offset = (table.getBucketNum() == null ? 0 : 1) + (table.isMultiTenant() pconn.getTenantId() != null ? 1 : 0); +int nValues = table.getPKColumns().size() - offset; +RowKeySchema schema = table.getRowKeySchema(); +
[2/2] git commit: PHOENIX-1369 Add back encode/decode methods as deprecated
PHOENIX-1369 Add back encode/decode methods as deprecated Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/dc7e8c0e Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/dc7e8c0e Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/dc7e8c0e Branch: refs/heads/master Commit: dc7e8c0e6f5f1e9724bc875d0a892f8e6393dacd Parents: eee98b6 Author: James Taylor jamestay...@apache.org Authored: Mon Oct 20 13:06:18 2014 -0700 Committer: James Taylor jamestay...@apache.org Committed: Mon Oct 20 13:06:18 2014 -0700 -- .../src/main/java/org/apache/phoenix/util/PhoenixRuntime.java | 1 + 1 file changed, 1 insertion(+) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/dc7e8c0e/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java b/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java index cf102db..8becd98 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java @@ -70,6 +70,7 @@ import org.apache.phoenix.schema.PDataType; import org.apache.phoenix.schema.PTable; import org.apache.phoenix.schema.PTableKey; import org.apache.phoenix.schema.PTableType; +import org.apache.phoenix.schema.RowKeySchema; import org.apache.phoenix.schema.TableNotFoundException; import org.apache.phoenix.schema.ValueBitSet;
git commit: PHOENIX-1369 Mark encode/decode methods as deprecated
Repository: phoenix Updated Branches: refs/heads/3.0 5b9f71569 - 5ad72cd68 PHOENIX-1369 Mark encode/decode methods as deprecated Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/5ad72cd6 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/5ad72cd6 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/5ad72cd6 Branch: refs/heads/3.0 Commit: 5ad72cd68f059d9c66ea4ecaf6760f2719b9117b Parents: 5b9f715 Author: James Taylor jamestay...@apache.org Authored: Mon Oct 20 13:17:40 2014 -0700 Committer: James Taylor jamestay...@apache.org Committed: Mon Oct 20 13:17:40 2014 -0700 -- .../src/main/java/org/apache/phoenix/util/PhoenixRuntime.java | 2 ++ 1 file changed, 2 insertions(+) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/5ad72cd6/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java -- diff --git a/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java b/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java index b88095f..da9ee16 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/util/PhoenixRuntime.java @@ -418,6 +418,7 @@ public class PhoenixRuntime { * @see #decodePK(Connection, String, byte[]) to decode the byte[] back to the * values */ +@Deprecated public static byte[] encodePK(Connection conn, String fullTableName, Object[] values) throws SQLException { PTable table = getTable(conn, fullTableName); PhoenixConnection pconn = conn.unwrap(PhoenixConnection.class); @@ -461,6 +462,7 @@ public class PhoenixRuntime { * @return the Object values encoded in the byte array value * @throws SQLException */ +@Deprecated public static Object[] decodePK(Connection conn, String name, byte[] value) throws SQLException { PTable table = getTable(conn, name); PhoenixConnection pconn = conn.unwrap(PhoenixConnection.class);
Git Push Summary
Repository: phoenix Updated Tags: refs/tags/v4.2.0-rc0 [created] f4c1d63ed
Jenkins build is back to normal : Phoenix | Master #448
See https://builds.apache.org/job/Phoenix-master/448/changes
svn commit: r6802 - in /dev/phoenix/phoenix-4.2.0-rc0: ./ bin/ src/
Author: mujtaba Date: Mon Oct 20 20:27:33 2014 New Revision: 6802 Log: Phoenix 4.2.0-rc0 Added: dev/phoenix/phoenix-4.2.0-rc0/ dev/phoenix/phoenix-4.2.0-rc0/bin/ dev/phoenix/phoenix-4.2.0-rc0/bin/phoenix-4.2.0-bin.tar.gz (with props) dev/phoenix/phoenix-4.2.0-rc0/bin/phoenix-4.2.0-bin.tar.gz.asc dev/phoenix/phoenix-4.2.0-rc0/bin/phoenix-4.2.0-bin.tar.gz.md5 dev/phoenix/phoenix-4.2.0-rc0/bin/phoenix-4.2.0-bin.tar.gz.sha dev/phoenix/phoenix-4.2.0-rc0/src/ dev/phoenix/phoenix-4.2.0-rc0/src/phoenix-4.2.0-src.tar.gz (with props) dev/phoenix/phoenix-4.2.0-rc0/src/phoenix-4.2.0-src.tar.gz.asc dev/phoenix/phoenix-4.2.0-rc0/src/phoenix-4.2.0-src.tar.gz.md5 dev/phoenix/phoenix-4.2.0-rc0/src/phoenix-4.2.0-src.tar.gz.sha Added: dev/phoenix/phoenix-4.2.0-rc0/bin/phoenix-4.2.0-bin.tar.gz == Binary file - no diff available. Propchange: dev/phoenix/phoenix-4.2.0-rc0/bin/phoenix-4.2.0-bin.tar.gz -- svn:mime-type = application/octet-stream Added: dev/phoenix/phoenix-4.2.0-rc0/bin/phoenix-4.2.0-bin.tar.gz.asc == --- dev/phoenix/phoenix-4.2.0-rc0/bin/phoenix-4.2.0-bin.tar.gz.asc (added) +++ dev/phoenix/phoenix-4.2.0-rc0/bin/phoenix-4.2.0-bin.tar.gz.asc Mon Oct 20 20:27:33 2014 @@ -0,0 +1,17 @@ +-BEGIN PGP SIGNATURE- +Version: GnuPG v1.4.11 (GNU/Linux) + +iQIcBAABAgAGBQJURW8zAAoJEDv8s5KUYReOzrcQAMNN88HlZ3iLHTti4czuZwcC +U5JtM4mXWQBiie67nMLv8FCUaFE1Hv/1igAULlIPWIShm0lJe2I1bne58LusaQzn +doYGXd10eu+q7+5U1/Ybk3at86lVwTvcLbAbeIhbhmh713pERZsDShtPw56E5gdW +99G6IAATHBrh3Sa0B/ZrjvSoImtb1cL6jI84QioV/iMbBQryxu/WLXAse5/y9Ohp +Bm++NKo1xQGxMuqWe3OCuNU35tiFLz09cquI2ZjINsifxMCtlWOQeqkcQ9GnvKpL +ofYiEOQ7NfnvYRKIlBfOvlcM3n0IVJpaJ2zmSaqT3Tj381qR6ZxaSbpn6YoAPs1Y ++3wwTnvFnpYGjZu/LHajKxYtWMoAb5nBO3YsFTsE4/9Cbvj/LAJPWCCkjhYh1AZt ++YPEjcuX8BI1XGFKlub1scQzCwRKNGFdg0wAVwPDDpbachazKZ9yjmHLchC9UQ7a +5j4c3+u/8to2D5oU8SUEZisRxdCqA3ARtVGvLQHusO7dM3P/qdcdfc8382oPahgX +H5FmAASvSG8M+fd9bvN+Bf5nwSTa22jPUjoDJef1Z6AungeYDQF2mhGwEEaOBp8T +Zja6tgUc+5Ki8kV4ufvy1Ydc3dhRZjrWUkShZvUOqLlKbPlJw87flznyHCQt/Q+z +RNijrXr5L9x6dbVbCmpa +=pQGO +-END PGP SIGNATURE- Added: dev/phoenix/phoenix-4.2.0-rc0/bin/phoenix-4.2.0-bin.tar.gz.md5 == --- dev/phoenix/phoenix-4.2.0-rc0/bin/phoenix-4.2.0-bin.tar.gz.md5 (added) +++ dev/phoenix/phoenix-4.2.0-rc0/bin/phoenix-4.2.0-bin.tar.gz.md5 Mon Oct 20 20:27:33 2014 @@ -0,0 +1 @@ +122e2353659b701bee1420064482068a *phoenix-4.2.0-bin.tar.gz Added: dev/phoenix/phoenix-4.2.0-rc0/bin/phoenix-4.2.0-bin.tar.gz.sha == --- dev/phoenix/phoenix-4.2.0-rc0/bin/phoenix-4.2.0-bin.tar.gz.sha (added) +++ dev/phoenix/phoenix-4.2.0-rc0/bin/phoenix-4.2.0-bin.tar.gz.sha Mon Oct 20 20:27:33 2014 @@ -0,0 +1,2 @@ +cb3e8466dac32c71abbc1c69cfd9b144459ad99535e191bbe0d220606f62c9a3929f7f95fa7037fed4cf617f0d4a6ba5309417fb38df43b635564ef58c9e9d89 *phoenix-4.2.0-bin.tar.gz +91fd2fc384e4816b6d8fc3cc4500e8f6dfd5b74f3238eea5effad03a33aac710 *phoenix-4.2.0-bin.tar.gz Added: dev/phoenix/phoenix-4.2.0-rc0/src/phoenix-4.2.0-src.tar.gz == Binary file - no diff available. Propchange: dev/phoenix/phoenix-4.2.0-rc0/src/phoenix-4.2.0-src.tar.gz -- svn:mime-type = application/octet-stream Added: dev/phoenix/phoenix-4.2.0-rc0/src/phoenix-4.2.0-src.tar.gz.asc == --- dev/phoenix/phoenix-4.2.0-rc0/src/phoenix-4.2.0-src.tar.gz.asc (added) +++ dev/phoenix/phoenix-4.2.0-rc0/src/phoenix-4.2.0-src.tar.gz.asc Mon Oct 20 20:27:33 2014 @@ -0,0 +1,17 @@ +-BEGIN PGP SIGNATURE- +Version: GnuPG v1.4.11 (GNU/Linux) + +iQIcBAABAgAGBQJURW91AAoJEDv8s5KUYReOIjMQAIZC6pH3jaJ77HIhGFkyRwAS +yKY1GU8Kqf2jGyL8yH7EnSD+Z6lle6RL0/x+L17MFugE8Apu5RMLybP3czOWdsIM +D2PjhxLaF3WJdARIOiVvLdclm8XKmnj/HYUN7PasAA/Cd700l3eyWw585MyuEEid +tmA/lSRWL7aFQ73beyet3q8zplcwYTxCwX3UEZU/UdzE0+E9wUnQiq0YHdtLj8nS +A2V0eQ8xoMFghgDXvwKwGQvZkc6X3xJK5IZcGNkXZ7857u06Bs+XgO5XfaHYLk3N +XsWPtFURYRqFeng3JVoqgHysGhk/SHMx3Fym9CZSWCumOtT5IbeUTF51ugGA3jNL +7xgSgcaTZ9SdJ2aPBqJVPmZZTgdy5mNqJMeXx7n/HuXdkRGWsuGyRAQ99wtJGtUO +8XwKVl7zylAtC0dc4YJLqWInuupoi2Rw7NefPvobNBsDgrltiA4qm9vkWZHeo1vt +uk9E/SlilJPkZBvgNZ8udsnMUypzG77xcSMBS7dKY8N6CZGSTRStkPxMVry7BmgE +V9f5s7JHMoLxRDlG9KZKznoFN8cc2ITJoJtuccrX4imY1mrF4HNU6zKnI1ztcT7e +ngoFrokj8n4zNqZsn/qcVAORt3DZMwLYYbWh1BfzmkjmG7Dc+dBV9mKCrUNi6MM9 +MqcoPVaGJTu/IzgVmy9o +=V5Pf +-END PGP SIGNATURE- Added: dev/phoenix/phoenix-4.2.0-rc0/src/phoenix-4.2.0-src.tar.gz.md5
git commit: Prepare for v3.2.0 release
Repository: phoenix Updated Branches: refs/heads/3.0 5ad72cd68 - b479d2804 Prepare for v3.2.0 release Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/b479d280 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/b479d280 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/b479d280 Branch: refs/heads/3.0 Commit: b479d2804933ce5e637d0c30a9152afc97b9da2b Parents: 5ad72cd Author: Mujtaba mujt...@apache.org Authored: Mon Oct 20 15:02:19 2014 -0700 Committer: Mujtaba mujt...@apache.org Committed: Mon Oct 20 15:02:19 2014 -0700 -- CHANGES | 87 +++- phoenix-assembly/pom.xml| 2 +- phoenix-core/pom.xml| 2 +- .../phoenix/end2end/StatsCollectorIT.java | 19 - .../phoenix/coprocessor/SuffixFilter.java | 19 - phoenix-flume/pom.xml | 2 +- phoenix-hadoop-compat/pom.xml | 2 +- phoenix-hadoop1-compat/pom.xml | 2 +- phoenix-hadoop2-compat/pom.xml | 2 +- phoenix-pig/pom.xml | 2 +- pom.xml | 2 +- 11 files changed, 129 insertions(+), 12 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/b479d280/CHANGES -- diff --git a/CHANGES b/CHANGES index 14bceaa..472180a 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,87 @@ -Release Notes - Phoenix - Version 3.1 + +Release Notes - Phoenix - Version 3.2 + +** New Features and Sub-task +* [PHOENIX-167] - Support semi/anti-joins +* [PHOENIX-180] - Use stats to guide query parallelization +* [PHOENIX-943] - Handle pushed down post-filters for subquery in joins with limit and non-groupby aggregation +* [PHOENIX-945] - Support correlated subqueries in comparison without ANY/SOME/ALL +* [PHOENIX-1259] - Perform partial scan for ANALYZE when table salted or local index +* [PHOENIX-1263] - Only cache guideposts on physical PTable +* [PHOENIX-1264] - Add StatisticsCollector to existing tables on first connection to cluster +* [PHOENIX-1296] - Scan entire region when tenant-specific table is analyzed +* [PHOENIX-1309] - Ensure Phoenix table is created for Local index and view index tables to store guideposts against them +* [PHOENIX-1320] - Update stats atomically +* [PHOENIX-1321] - Cleanup setting of timestamps when collecting and using stats +* [PHOENIX-1322] - Add documentation for UPDATE STATISTICS command +* [PHOENIX-1328] - Update ANALYZE syntax to collect stats on index tables and all tables +* [PHOENIX-1332] - Support correlated subqueries in comparison with ANY/SOME/ALL +* [PHOENIX-1333] - Store statistics guideposts as VARBINARY +* [PHOENIX-1254] - Add REGEXP_SPLIT function + +** Bug +* [PHOENIX-105] - Remove org.apache.commons.csv source once available in Maven repo +* [PHOENIX-954] - View index sequences of a non multi tenant table are not getting deleted after main table drop +* [PHOENIX-973] - Lexer skips unexpected characters +* [PHOENIX-1044] - Phoenix-Pig: No results returned unless all used columns are selected +* [PHOENIX-1050] - Can't load pig bytearray into a phoenix VARBINARY column +* [PHOENIX-1098] - Support CASCADE option on DROP TABLE that drops all VIEWs +* [PHOENIX-1203] - Uable to work for count (distinct col) queries via phoenix table with secondary indexes +* [PHOENIX-1206] - Decimal serialization broken for negative numbers with more than 19 digits of precision +* [PHOENIX-1208] - Check for existence of views doesn't take into account the fact that SYSTEM.CATALOG could be split across regions +* [PHOENIX-1211] - Use skip scan when row value constructor uses leading row key columns +* [PHOENIX-1214] - SYSTEM.CATALOG cannot be created when first connection to cluster is tenant-specific +* [PHOENIX-1225] - Evaluation of OR between columns in PK and not in PK incorrect +* [PHOENIX-1228] - NPE in select max(c1) when c1 is a CHAR field +* [PHOENIX-1237] - COALESCE Function - type of second parameter +* [PHOENIX-1239] - IN clause (and some others) cannot get moved from HAVING clause to WHERE clause when qualified +* [PHOENIX-1242] - ArrayoutofBoundException Phoenix mapping to exisiting Hbase +* [PHOENIX-1250] - guava dependency out-dated causing NoSuchMethod error +* [PHOENIX-1251] - Salted queries with range scan become full table scans +* [PHOENIX-1252] - Potential lock leak for ungrouped aggregation +* [PHOENIX-1253] - Invalid PreparedStatement.setXXX call should throw SQLException +* [PHOENIX-1257] -
Apache-Phoenix | 3.0 | Hadoop1 | Build Successful
3.0 branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf/phoenix.git Last Successful Compiled Artifacts https://builds.apache.org/job/Phoenix-3.0-hadoop1/lastSuccessfulBuild/artifact/ Last Complete Test Report https://builds.apache.org/job/Phoenix-3.0-hadoop1/lastCompletedBuild/testReport/ Changes [mujtaba] Prepare for v3.2.0 release
Git Push Summary
Repository: phoenix Updated Tags: refs/tags/v3.2.0-rc0 [created] cb816d5e6
git commit: PHOENIX-1356 LocalIndexIT.testLocalIndexScanAfterRegionSplit() failed at distributed cluster when getting regions(Alicia Ying Shu)
Repository: phoenix Updated Branches: refs/heads/master dc7e8c0e6 - 1816f6e81 PHOENIX-1356 LocalIndexIT.testLocalIndexScanAfterRegionSplit() failed at distributed cluster when getting regions(Alicia Ying Shu) Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/1816f6e8 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/1816f6e8 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/1816f6e8 Branch: refs/heads/master Commit: 1816f6e81de5b8314624629b9f6b45a66cc94ede Parents: dc7e8c0 Author: Rajeshbabu Chintaguntla rajeshb...@apache.org Authored: Tue Oct 21 04:23:34 2014 + Committer: Rajeshbabu Chintaguntla rajeshb...@apache.org Committed: Tue Oct 21 04:23:34 2014 + -- .../phoenix/end2end/index/LocalIndexIT.java | 35 ++-- 1 file changed, 18 insertions(+), 17 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/1816f6e8/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/LocalIndexIT.java -- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/LocalIndexIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/LocalIndexIT.java index 2478317..019e0fb 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/LocalIndexIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/index/LocalIndexIT.java @@ -650,25 +650,26 @@ public class LocalIndexIT extends BaseIndexIT { assertTrue(rs.next()); HBaseAdmin admin = driver.getConnectionQueryServices(getUrl(), TestUtil.TEST_PROPERTIES).getAdmin(); -HMaster master = getUtility().getHBaseCluster().getMaster(); for (int i = 1; i 5; i++) { - -admin.split(Bytes.toBytes(DATA_TABLE_NAME), ByteUtil.concat(Bytes.toBytes(strings[3*i]))); -ListHRegionInfo regionsOfUserTable = - master.getAssignmentManager().getRegionStates().getRegionsOfTable(TableName.valueOf(DATA_TABLE_NAME)); -while (regionsOfUserTable.size() != (4+i)) { -Thread.sleep(100); -regionsOfUserTable = master.getAssignmentManager().getRegionStates().getRegionsOfTable(TableName.valueOf(DATA_TABLE_NAME)); -} -assertEquals(4+i, regionsOfUserTable.size()); -ListHRegionInfo regionsOfIndexTable = master.getAssignmentManager().getRegionStates() - .getRegionsOfTable(TableName.valueOf(MetaDataUtil.getLocalIndexTableName(DATA_TABLE_NAME))); -while (regionsOfIndexTable.size() != (4+i)) { -Thread.sleep(100); -regionsOfIndexTable = master.getAssignmentManager().getRegionStates() - .getRegionsOfTable(TableName.valueOf(MetaDataUtil.getLocalIndexTableName(DATA_TABLE_NAME))); -} + admin.split(Bytes.toBytes(DATA_TABLE_NAME), ByteUtil.concat(Bytes.toBytes(strings[3*i]))); + ListHRegionInfo regionsOfUserTable = admin.getTableRegions(TableName.valueOf(DATA_TABLE_NAME)); + + while (regionsOfUserTable.size() != (4+i)) { +Thread.sleep(100); +regionsOfUserTable = admin.getTableRegions(TableName.valueOf(DATA_TABLE_NAME)); + } + assertEquals(4+i, regionsOfUserTable.size()); + ListHRegionInfo regionsOfIndexTable = + admin.getTableRegions(TableName.valueOf(MetaDataUtil +.getLocalIndexTableName(DATA_TABLE_NAME))); + + while (regionsOfIndexTable.size() != (4+i)) { +Thread.sleep(100); +regionsOfIndexTable = +admin.getTableRegions(TableName.valueOf(MetaDataUtil + .getLocalIndexTableName(DATA_TABLE_NAME))); + } assertEquals(4 + i, regionsOfIndexTable.size()); String query = SELECT t_id,k1,v1 FROM + DATA_TABLE_NAME; rs = conn1.createStatement().executeQuery(query);
Apache-Phoenix | Master | Build Successful
Master branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf/phoenix.git 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 [rajeshbabu] PHOENIX-1356 LocalIndexIT.testLocalIndexScanAfterRegionSplit() failed at distributed cluster when getting regions(Alicia Ying Shu)
Apache-Phoenix | Master | Build Successful
Master branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf/phoenix.git 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 [rajeshbabu] PHOENIX-1238 Rollback index region split on any split failure(Rajeshbabu)