You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by mu...@apache.org on 2015/02/11 02:12:42 UTC

[1/2] phoenix git commit: Prepare for 4.3.0 release - Update CHANGES and RAT warning fix

Repository: phoenix
Updated Branches:
  refs/heads/4.0 21731bcd2 -> cce5b9285


Prepare for 4.3.0 release - Update CHANGES and RAT warning fix


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/4d085f4b
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/4d085f4b
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/4d085f4b

Branch: refs/heads/4.0
Commit: 4d085f4b5399a538e10fe8d9f43b15cca7ccc3b3
Parents: 677952d
Author: Mujtaba <mu...@apache.org>
Authored: Tue Feb 10 17:08:05 2015 -0800
Committer: Mujtaba <mu...@apache.org>
Committed: Tue Feb 10 17:08:05 2015 -0800

----------------------------------------------------------------------
 CHANGES                                         | 132 +++++++++++++++++++
 phoenix-assembly/pom.xml                        |   2 +-
 phoenix-core/pom.xml                            |   2 +-
 .../expression/function/RandomFunction.java     |  17 +++
 phoenix-flume/pom.xml                           |   2 +-
 phoenix-pig/pom.xml                             |   2 +-
 pom.xml                                         |   3 +-
 .../src/phoenix-4.3.0-SNAPSHOT-src.tar.gz       | Bin 0 -> 1469150 bytes
 8 files changed, 155 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/4d085f4b/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 745a7c6..c858fb5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,135 @@
+Release Notes - Phoenix - Version 4.3
+
+** New Feature
+    * [PHOENIX-1399] - Support cross joins and comma-separated table list
+    * [PHOENIX-1454] - Map Reduce over Phoenix tables
+    * [PHOENIX-1552] - Add sandbox environment for trying out Phoenix
+    * [PHOENIX-1559] - Allow specifying auto-commit mode in the connection URL or connection properties
+    * [PHOENIX-1578] - Support explicit storage of null values
+
+** Improvement
+    * [PHOENIX-1127] - Cannot load Timestamp(6) in CSV bulk loader
+    * [PHOENIX-1142] - Improve CsvBulkLoadTool to parse different Date formats
+    * [PHOENIX-1300] - Allow sub-queries to choose different execution path other than hash-join
+    * [PHOENIX-1409] - Allow ALTER TABLE <table> SET command to update HTableDescriptor and HColumnDescriptor properties
+    * [PHOENIX-1467] - Upgrade to 4.12 Junit and update tests by removing @Category annotation
+    * [PHOENIX-1582] - Support TimeOut in JDBC
+    * [PHOENIX-1594] - Using KeyOnlyFilter for simple query of select count(1) from <table>
+
+** Task
+    * [PHOENIX-514] - Support functional indexes
+    * [PHOENIX-653] - Support ANSI-standard date literals from SQL 2003
+    * [PHOENIX-688] - Add to_time and to_timestamp built-in functions
+    * [PHOENIX-910] - Filter should override hasFilterRow() when filterRow() is overridden
+    * [PHOENIX-1167] - Improve join capabilities
+    * [PHOENIX-1393] - Add test cases for sub-queries in UPSERT and DELETE statement
+
+** Sub-task
+    * [PHOENIX-1179] - Support many-to-many joins
+    * [PHOENIX-1445] - Add unit test for stats not being maintained correctly through splits
+    * [PHOENIX-1496] - Further reduce work in StatsCollector
+    * [PHOENIX-1514] - Break up PDataType Enum
+    * [PHOENIX-1554] - Update join documentation based on many-to-many support
+    * [PHOENIX-1557] - Add hint to force sort merge join
+    * [PHOENIX-1558] - Document map-reduce integration
+
+** Bug
+    * [PHOENIX-1233] - Detected both log4j-over-slf4j.jar AND slf4j-log4j12.jar on the class path, preempting StackOverflowError
+    * [PHOENIX-1248] - CsvBulkLoadTool is failing with IAE when local index specified for --index-table parameter
+    * [PHOENIX-1331] - DropIndexDuringUpsertIT.testWriteFailureDropIndex times out
+    * [PHOENIX-1336] - Exception when select from local index:Cache of region boundaries are out of date
+    * [PHOENIX-1346] - Base exception gets wrapped as incompatible jar exception
+    * [PHOENIX-1362] - Min/max aggregate query on CHAR and BINARY types always return null
+    * [PHOENIX-1373] - Ctrl-C out of sqlline causes terminal to be useless
+    * [PHOENIX-1380] - Potential null dereference in PerformanceLog#getFileOutputStream()
+    * [PHOENIX-1394] - getColumnDisplaySize() method returns incorrect value for varchar columns
+    * [PHOENIX-1395] - ResultSpooler spill files are left behind in /tmp folder
+    * [PHOENIX-1396] - Avoid unnecessary ResultSpooler.bin files creation/deletion every time SpoolingResultIterator is used 
+    * [PHOENIX-1397] - RVC combined with OR on first row key column results in NPE
+    * [PHOENIX-1400] - Copy small attribute in ScanUtil
+    * [PHOENIX-1401] - SYSTEM.SEQUENCE table is not pre-split as expected
+    * [PHOENIX-1402] - Don't recalculate stats on split
+    * [PHOENIX-1403] - Race condition can cause ConnectionQueryServicesImpl to be re-initialized
+    * [PHOENIX-1404] - PhoenixResultSet.setFetchSize throws SQLFeatureNotSupportedException
+    * [PHOENIX-1405] - Problem referencing lower-case column names with Phoenix / Pig / Spark
+    * [PHOENIX-1406] - Use preCompact hook instead of preCompactScannerOpen for stats collection
+    * [PHOENIX-1407] - PhoenixStatement.getFetchSize() appears to never be used
+    * [PHOENIX-1408] - Don't disable table before modifying HTable metadata
+    * [PHOENIX-1413] - Add Phoenix coprocessors with configurable priority
+    * [PHOENIX-1416] - Given a schema name, DatabaseMetadata.getTables and getColumns calls erroneously match tables without schema 
+    * [PHOENIX-1418] - Optionally display number of parallel chunks in explain plan
+    * [PHOENIX-1420] - DatabaseMetaData.getschemas returns incorrect column order
+    * [PHOENIX-1424] - Drop cascade field should be optional
+    * [PHOENIX-1427] - Reduce work in StatsCollector
+    * [PHOENIX-1429] - Cancel queued threads when limit reached
+    * [PHOENIX-1431] - DELETE using Subqueries
+    * [PHOENIX-1432] - Run limit query that has only leading PK column filter serially
+    * [PHOENIX-1434] - Stats are not maintained correctly through splits
+    * [PHOENIX-1436] - the choice of index by phoneix is not correct where do querying
+    * [PHOENIX-1442] - Alter Index double normalize Index Table Name
+    * [PHOENIX-1446] - Add/fix logging for LIMIT optimization
+    * [PHOENIX-1447] - Increase guidepost width default to take into account FAST_DIFF compression
+    * [PHOENIX-1448] - Fix resource leak when work rejected by thread executor
+    * [PHOENIX-1449] - Fix potential NPE in delete
+    * [PHOENIX-1451] - Queries with limit against tenant views is broken
+    * [PHOENIX-1456] - Incorrect query results caused by reusing buffers in SpoolingResultIterator
+    * [PHOENIX-1460] - Identify known/possible set of Phoenix table properties
+    * [PHOENIX-1463] - phoenix.query.timeoutMs doesn't work as expected
+    * [PHOENIX-1466] - Prevent multiple scans when query run serially
+    * [PHOENIX-1469] - Binary columns do not work correctly for indexing
+    * [PHOENIX-1470] - KEEP_DELETED_CELLS interface changed in HBase 0.98.8
+    * [PHOENIX-1472] - SaltingUtil calculates wrong salt key for Integer.MIN_VALUE hash code
+    * [PHOENIX-1474] - NPE when RVC between combined with key part comparison
+    * [PHOENIX-1476] - Immediately open scanner for parallel queries
+    * [PHOENIX-1477] - Phoenix 4.0  -> 4.2 upgrade doesn't work 
+    * [PHOENIX-1480] - Incorrect query results may occur when VIEW uses indexes from physical table
+    * [PHOENIX-1483] - Support mixed client versions against newer server version
+    * [PHOENIX-1484] - Index creation failed due to specifying DEFAULT_COLUMN_FAMILY option
+    * [PHOENIX-1485] - Date columns should be displayed without timezone offset
+    * [PHOENIX-1486] - Fix SpooledTmpFileDeleteIT by having it use a different directory for spooling files.
+    * [PHOENIX-1498] - Turn KEEP_DELETED_CELLS off by default
+    * [PHOENIX-1500] - Disallow mutations and queries using PhoenixPreparedStatement.executeQuery() and executeUpdate() respectively.
+    * [PHOENIX-1503] - Compilation on Mac OS fails on maven-assembly-plugin
+    * [PHOENIX-1511] - Invalidate stats row even if not running stats due to phoenix.stats.minUpdateFrequency
+    * [PHOENIX-1516] - Add RAND() built-in function
+    * [PHOENIX-1532] - Phoenix tarball assembly does not include server jar
+    * [PHOENIX-1533] - Last key part not taken into child/parent optimization
+    * [PHOENIX-1535] - Secondary local index casues Undefined column error with queries involving joins
+    * [PHOENIX-1536] - Make use of SplitTransaction to split local index region from 0.98.9 onwards
+    * [PHOENIX-1537] - Prevent tests from hanging in some environments
+    * [PHOENIX-1545] - Add org.iq80.snappy reference to client poms
+    * [PHOENIX-1549] - CSV loader doesn't use configured date format for loading dates
+    * [PHOENIX-1551] - Upgrading from Phoenix 4.0.x to 4.2.2 and throw can't find SYSTEM.STATS
+    * [PHOENIX-1560] - Join between global index and data table if INDEX hint used
+    * [PHOENIX-1562] - NPE in ServerCacheClient
+    * [PHOENIX-1570] - Data missing when using local index
+    * [PHOENIX-1573] - Set reuseForks back to true for integration tests
+    * [PHOENIX-1575] - Identical sql type values for UNSIGNED_TIMESTAMP and UNSIGNED_DATE
+    * [PHOENIX-1576] - Refactor property-related code to reside in ConnectionQueryServicesImpl
+    * [PHOENIX-1581] - Client cache not updated after issuing ALTER TABLE statements for setting phoenix table properties
+    * [PHOENIX-1587] - Error deserializing empty array (which represents null)
+    * [PHOENIX-1591] - Return all rows instead of no rows if IN clause subquery gets optimized out from semi-join and returns empty result
+    * [PHOENIX-1596] - Turning tracing on causes region servers to crash
+    * [PHOENIX-1600] - Scanner is left unclosed in MetaDataEndpointImpl#doDropTable()
+    * [PHOENIX-1601] - Performance.py script not working in binary distribution
+    * [PHOENIX-1605] - Update pom to latest stable sqlline release
+    * [PHOENIX-1606] - Update JDBC version to match release version
+    * [PHOENIX-1610] - Incorrect subquery results caused by unpaired contextStack push/pop
+    * [PHOENIX-1612] - Phoenix can't be used from an external jar in SQL tools
+    * [PHOENIX-1613] - Phoenix can't be used directly with SquirrelSQL
+    * [PHOENIX-1616] - Creating a View with a case sensitive column name does not work
+    * [PHOENIX-1620] - Add API for getting tenant ID from an HBase row of a Phoenix table
+    * [PHOENIX-1641] - Make the upgrade for SYSTEM.CATALOG and SYSTEM.SEQUENCE work for 4.x to 4.3
+    * [PHOENIX-1643] - Ensure index usage is backward compatible for 4.2 client against 4.3 server
+    * [PHOENIX-1644] - Check for min HBase version before creating local index and provide means of disabling usage
+    * [PHOENIX-1645] - Wrong execution plan generated for indexed query which leads to slow performance
+    * [PHOENIX-1646] - Views and functional index expressions may lose information when stringified
+    * [PHOENIX-1649] - Remove System.out/System.err debugging messages
+    * [PHOENIX-1650] - Possible resource leak in upsert select query
+
+** Test
+    * [PHOENIX-1509] - Investigate changing default encoding to PREFIX_encoding instead of FAST_DIFF
+
 Release Notes - Phoenix - Version 4.2
 
 ** New Features and Sub-task

http://git-wip-us.apache.org/repos/asf/phoenix/blob/4d085f4b/phoenix-assembly/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-assembly/pom.xml b/phoenix-assembly/pom.xml
index 1c048c2..cfb8db6 100644
--- a/phoenix-assembly/pom.xml
+++ b/phoenix-assembly/pom.xml
@@ -26,7 +26,7 @@
   <parent>
     <groupId>org.apache.phoenix</groupId>
     <artifactId>phoenix</artifactId>
-    <version>4.3.0-SNAPSHOT</version>
+    <version>4.3.0</version>
   </parent>
   <artifactId>phoenix-assembly</artifactId>
   <name>Phoenix Assembly</name>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/4d085f4b/phoenix-core/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-core/pom.xml b/phoenix-core/pom.xml
index 5f06e87..06b38be 100644
--- a/phoenix-core/pom.xml
+++ b/phoenix-core/pom.xml
@@ -4,7 +4,7 @@
   <parent>
     <groupId>org.apache.phoenix</groupId>
     <artifactId>phoenix</artifactId>
-    <version>4.3.0-SNAPSHOT</version>
+    <version>4.3.0</version>
   </parent>
   <artifactId>phoenix-core</artifactId>
   <name>Phoenix Core</name>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/4d085f4b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/RandomFunction.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/RandomFunction.java b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/RandomFunction.java
index 535a127..01a4eed 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/expression/function/RandomFunction.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/expression/function/RandomFunction.java
@@ -1,3 +1,20 @@
+/*
+ * 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.expression.function;
 
 import java.io.DataInput;

http://git-wip-us.apache.org/repos/asf/phoenix/blob/4d085f4b/phoenix-flume/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-flume/pom.xml b/phoenix-flume/pom.xml
index 958c59a..83856a4 100644
--- a/phoenix-flume/pom.xml
+++ b/phoenix-flume/pom.xml
@@ -26,7 +26,7 @@
   <parent>
     <groupId>org.apache.phoenix</groupId>
     <artifactId>phoenix</artifactId>
-    <version>4.3.0-SNAPSHOT</version>
+    <version>4.3.0</version>
   </parent>
   <artifactId>phoenix-flume</artifactId>
   <name>Phoenix - Flume</name>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/4d085f4b/phoenix-pig/pom.xml
----------------------------------------------------------------------
diff --git a/phoenix-pig/pom.xml b/phoenix-pig/pom.xml
index 22bac63..56e4618 100644
--- a/phoenix-pig/pom.xml
+++ b/phoenix-pig/pom.xml
@@ -26,7 +26,7 @@
   <parent>
     <groupId>org.apache.phoenix</groupId>
     <artifactId>phoenix</artifactId>
-    <version>4.3.0-SNAPSHOT</version>
+    <version>4.3.0</version>
   </parent>
   <artifactId>phoenix-pig</artifactId>
   <name>Phoenix - Pig</name>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/4d085f4b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9bdbebb..a992fab 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.apache.phoenix</groupId>
   <artifactId>phoenix</artifactId>
-  <version>4.3.0-SNAPSHOT</version>
+  <version>4.3.0</version>
   <packaging>pom</packaging>
   <name>Apache Phoenix</name>
   <description>A SQL layer over HBase</description>
@@ -189,6 +189,7 @@
               <exclude>**/resources/*.Driver</exclude>
               <exclude>**/META-INF/**</exclude>
               <exclude>**/*.properties</exclude>
+              <exclude>**/*.proto</exclude>
               <exclude>**/*.versionsBackup</exclude>
               <!-- exclude docs -->
               <exclude>docs/**</exclude>

http://git-wip-us.apache.org/repos/asf/phoenix/blob/4d085f4b/release/phoenix-4.3.0-SNAPSHOT/src/phoenix-4.3.0-SNAPSHOT-src.tar.gz
----------------------------------------------------------------------
diff --git a/release/phoenix-4.3.0-SNAPSHOT/src/phoenix-4.3.0-SNAPSHOT-src.tar.gz b/release/phoenix-4.3.0-SNAPSHOT/src/phoenix-4.3.0-SNAPSHOT-src.tar.gz
new file mode 100644
index 0000000..a13e75c
Binary files /dev/null and b/release/phoenix-4.3.0-SNAPSHOT/src/phoenix-4.3.0-SNAPSHOT-src.tar.gz differ


[2/2] phoenix git commit: Merge branch '4.0' of https://git-wip-us.apache.org/repos/asf/phoenix into 4.0

Posted by mu...@apache.org.
Merge branch '4.0' of https://git-wip-us.apache.org/repos/asf/phoenix into 4.0


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/cce5b928
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/cce5b928
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/cce5b928

Branch: refs/heads/4.0
Commit: cce5b92853f9c83cf2ba965150adf8f1b6616d80
Parents: 4d085f4 21731bc
Author: Mujtaba <mu...@apache.org>
Authored: Tue Feb 10 17:12:08 2015 -0800
Committer: Mujtaba <mu...@apache.org>
Committed: Tue Feb 10 17:12:08 2015 -0800

----------------------------------------------------------------------
 .../apache/phoenix/compile/UpsertCompiler.java  | 26 +++++++++++---------
 1 file changed, 15 insertions(+), 11 deletions(-)
----------------------------------------------------------------------