diff --git a/phoenix-assembly/pom.xml b/phoenix-assembly/pom.xml
index 078173fe621..d7a669e2871 100644
--- a/phoenix-assembly/pom.xml
+++ b/phoenix-assembly/pom.xml
@@ -20,7 +20,7 @@
org.apache.phoenix
phoenix
- 5.3.0-SNAPSHOT
+ 5.4.0-SNAPSHOT
phoenix-assembly
pom
diff --git a/phoenix-client-parent/phoenix-client-embedded/pom.xml b/phoenix-client-parent/phoenix-client-embedded/pom.xml
index b61287a6b97..f7a674e5342 100644
--- a/phoenix-client-parent/phoenix-client-embedded/pom.xml
+++ b/phoenix-client-parent/phoenix-client-embedded/pom.xml
@@ -20,7 +20,7 @@
org.apache.phoenix
phoenix-client-parent
- 5.3.0-SNAPSHOT
+ 5.4.0-SNAPSHOT
phoenix-client-embedded-${hbase.suffix}
diff --git a/phoenix-client-parent/phoenix-client-lite/pom.xml b/phoenix-client-parent/phoenix-client-lite/pom.xml
index 25cd5f2a004..e915fbef017 100644
--- a/phoenix-client-parent/phoenix-client-lite/pom.xml
+++ b/phoenix-client-parent/phoenix-client-lite/pom.xml
@@ -20,7 +20,7 @@
org.apache.phoenix
phoenix-client-parent
- 5.3.0-SNAPSHOT
+ 5.4.0-SNAPSHOT
phoenix-client-lite-${hbase.suffix}
diff --git a/phoenix-client-parent/pom.xml b/phoenix-client-parent/pom.xml
index 574fbac0b0e..47b62405c36 100644
--- a/phoenix-client-parent/pom.xml
+++ b/phoenix-client-parent/pom.xml
@@ -20,7 +20,7 @@
org.apache.phoenix
phoenix
- 5.3.0-SNAPSHOT
+ 5.4.0-SNAPSHOT
phoenix-client-parent
pom
diff --git a/phoenix-core-client/pom.xml b/phoenix-core-client/pom.xml
index 07769c9f685..e67be38cb0c 100644
--- a/phoenix-core-client/pom.xml
+++ b/phoenix-core-client/pom.xml
@@ -21,7 +21,7 @@
org.apache.phoenix
phoenix
- 5.3.0-SNAPSHOT
+ 5.4.0-SNAPSHOT
phoenix-core-client
Phoenix Core Client
diff --git a/phoenix-core-client/src/main/java/org/apache/phoenix/coprocessorclient/MetaDataProtocol.java b/phoenix-core-client/src/main/java/org/apache/phoenix/coprocessorclient/MetaDataProtocol.java
index cc7120f71da..b523a44de03 100644
--- a/phoenix-core-client/src/main/java/org/apache/phoenix/coprocessorclient/MetaDataProtocol.java
+++ b/phoenix-core-client/src/main/java/org/apache/phoenix/coprocessorclient/MetaDataProtocol.java
@@ -56,7 +56,7 @@
*/
public abstract class MetaDataProtocol extends MetaDataService {
public static final int PHOENIX_MAJOR_VERSION = 5;
- public static final int PHOENIX_MINOR_VERSION = 3;
+ public static final int PHOENIX_MINOR_VERSION = 4;
public static final int PHOENIX_PATCH_NUMBER = 0;
public static final int PHOENIX_VERSION =
@@ -92,9 +92,10 @@ public abstract class MetaDataProtocol extends MetaDataService {
public static final long MIN_SYSTEM_TABLE_TIMESTAMP_5_1_0 = MIN_SYSTEM_TABLE_TIMESTAMP_4_16_0;
public static final long MIN_SYSTEM_TABLE_TIMESTAMP_5_2_0 = MIN_TABLE_TIMESTAMP + 38;
public static final long MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 = MIN_TABLE_TIMESTAMP + 42;
+ public static final long MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 = MIN_TABLE_TIMESTAMP + 43;
// MIN_SYSTEM_TABLE_TIMESTAMP needs to be set to the max of all the MIN_SYSTEM_TABLE_TIMESTAMP_*
// constants
- public static final long MIN_SYSTEM_TABLE_TIMESTAMP = MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0;
+ public static final long MIN_SYSTEM_TABLE_TIMESTAMP = MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0;
// Version below which we should disallow usage of mutable secondary indexing.
public static final int MUTABLE_SI_VERSION_THRESHOLD = VersionUtil.encodeVersion("0", "94", "10");
@@ -151,6 +152,7 @@ public abstract class MetaDataProtocol extends MetaDataService {
TIMESTAMP_VERSION_MAP.put(MIN_SYSTEM_TABLE_TIMESTAMP_5_1_0, "5.1.x");
TIMESTAMP_VERSION_MAP.put(MIN_SYSTEM_TABLE_TIMESTAMP_5_2_0, "5.2.x");
TIMESTAMP_VERSION_MAP.put(MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0, "5.3.x");
+ TIMESTAMP_VERSION_MAP.put(MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0, "5.4.x");
}
public static final String CURRENT_CLIENT_VERSION =
diff --git a/phoenix-core-client/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java b/phoenix-core-client/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
index 16d75d8b546..bf2b1a4dec0 100644
--- a/phoenix-core-client/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
+++ b/phoenix-core-client/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java
@@ -28,7 +28,7 @@
import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP;
import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP_4_15_0;
import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP_4_16_0;
-import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0;
+import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0;
import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.PHOENIX_MAJOR_VERSION;
import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.PHOENIX_MINOR_VERSION;
import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.PHOENIX_PATCH_NUMBER;
@@ -4741,24 +4741,24 @@ protected PhoenixConnection upgradeSystemCatalogIfRequired(PhoenixConnection met
}
}
}
- if (currentServerSideTableTimeStamp < MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0) {
+ if (currentServerSideTableTimeStamp < MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0) {
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
- MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 8,
+ MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 9,
PhoenixDatabaseMetaData.PHYSICAL_TABLE_NAME + " " + PVarchar.INSTANCE.getSqlTypeName());
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
- MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 7,
+ MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 8,
PhoenixDatabaseMetaData.SCHEMA_VERSION + " " + PVarchar.INSTANCE.getSqlTypeName());
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
- MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 6,
+ MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 7,
PhoenixDatabaseMetaData.EXTERNAL_SCHEMA_ID + " " + PVarchar.INSTANCE.getSqlTypeName());
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
- MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 5,
+ MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 6,
PhoenixDatabaseMetaData.STREAMING_TOPIC_NAME + " " + PVarchar.INSTANCE.getSqlTypeName());
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
- MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 4,
+ MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 5,
PhoenixDatabaseMetaData.INDEX_WHERE + " " + PVarchar.INSTANCE.getSqlTypeName());
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
- MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 3,
+ MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 4,
PhoenixDatabaseMetaData.CDC_INCLUDE_TABLE + " " + PVarchar.INSTANCE.getSqlTypeName());
/**
@@ -4766,19 +4766,16 @@ protected PhoenixConnection upgradeSystemCatalogIfRequired(PhoenixConnection met
* PHOENIX_TTL Column. See PHOENIX-7023
*/
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
- MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 2,
+ MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 3,
PhoenixDatabaseMetaData.TTL + " " + PVarchar.INSTANCE.getSqlTypeName());
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
- MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 1,
+ MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 2,
PhoenixDatabaseMetaData.ROW_KEY_MATCHER + " " + PVarbinary.INSTANCE.getSqlTypeName());
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
- MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0,
+ MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 1,
PhoenixDatabaseMetaData.IS_STRICT_TTL + " " + PBoolean.INSTANCE.getSqlTypeName());
- // Values in PHOENIX_TTL column will not be used for further release as PHOENIX_TTL column is
- // being deprecated
- // and will be removed in later release. To copy copyDataFromPhoenixTTLtoTTL(metaConnection)
- // can be used but
- // as that feature was not fully built we are not moving old value to new column
+ // Add any 5.4.0 specific upgrade logic here if needed in the future
+ // Currently no new schema changes required for 5.4.0
// move TTL values stored in descriptor to SYSCAT TTL column.
moveTTLFromHBaseLevelTTLToPhoenixLevelTTL(metaConnection);
diff --git a/phoenix-core-server/pom.xml b/phoenix-core-server/pom.xml
index 45611f77507..e3abcb3558b 100644
--- a/phoenix-core-server/pom.xml
+++ b/phoenix-core-server/pom.xml
@@ -20,7 +20,7 @@
org.apache.phoenix
phoenix
- 5.3.0-SNAPSHOT
+ 5.4.0-SNAPSHOT
phoenix-core-server
Phoenix Core Server
diff --git a/phoenix-core/pom.xml b/phoenix-core/pom.xml
index 32080670f14..79ee404a563 100644
--- a/phoenix-core/pom.xml
+++ b/phoenix-core/pom.xml
@@ -20,7 +20,7 @@
org.apache.phoenix
phoenix
- 5.3.0-SNAPSHOT
+ 5.4.0-SNAPSHOT
phoenix-core
Phoenix Core
diff --git a/phoenix-hbase-compat-2.5.0/pom.xml b/phoenix-hbase-compat-2.5.0/pom.xml
index bdc3d92b15d..e9696aeca99 100644
--- a/phoenix-hbase-compat-2.5.0/pom.xml
+++ b/phoenix-hbase-compat-2.5.0/pom.xml
@@ -20,7 +20,7 @@
org.apache.phoenix
phoenix
- 5.3.0-SNAPSHOT
+ 5.4.0-SNAPSHOT
phoenix-hbase-compat-2.5.0
diff --git a/phoenix-hbase-compat-2.5.4/pom.xml b/phoenix-hbase-compat-2.5.4/pom.xml
index 3b8291567b3..39e05b450ab 100644
--- a/phoenix-hbase-compat-2.5.4/pom.xml
+++ b/phoenix-hbase-compat-2.5.4/pom.xml
@@ -20,7 +20,7 @@
org.apache.phoenix
phoenix
- 5.3.0-SNAPSHOT
+ 5.4.0-SNAPSHOT
phoenix-hbase-compat-2.5.4
diff --git a/phoenix-hbase-compat-2.6.0/pom.xml b/phoenix-hbase-compat-2.6.0/pom.xml
index 7df076a5274..cde486f723e 100644
--- a/phoenix-hbase-compat-2.6.0/pom.xml
+++ b/phoenix-hbase-compat-2.6.0/pom.xml
@@ -20,7 +20,7 @@
org.apache.phoenix
phoenix
- 5.3.0-SNAPSHOT
+ 5.4.0-SNAPSHOT
phoenix-hbase-compat-2.6.0
diff --git a/phoenix-mapreduce-byo-shaded-hbase/pom.xml b/phoenix-mapreduce-byo-shaded-hbase/pom.xml
index 00ae674c069..477cd063451 100644
--- a/phoenix-mapreduce-byo-shaded-hbase/pom.xml
+++ b/phoenix-mapreduce-byo-shaded-hbase/pom.xml
@@ -20,7 +20,7 @@
org.apache.phoenix
phoenix
- 5.3.0-SNAPSHOT
+ 5.4.0-SNAPSHOT
phoenix-mapreduce-byo-shaded-hbase-${hbase.suffix}
jar
diff --git a/phoenix-pherf/pom.xml b/phoenix-pherf/pom.xml
index e02e8d8ae6b..66548466d82 100644
--- a/phoenix-pherf/pom.xml
+++ b/phoenix-pherf/pom.xml
@@ -20,7 +20,7 @@
org.apache.phoenix
phoenix
- 5.3.0-SNAPSHOT
+ 5.4.0-SNAPSHOT
phoenix-pherf
diff --git a/phoenix-server/pom.xml b/phoenix-server/pom.xml
index 3307e8671b8..05e068f108e 100644
--- a/phoenix-server/pom.xml
+++ b/phoenix-server/pom.xml
@@ -22,7 +22,7 @@
org.apache.phoenix
phoenix
- 5.3.0-SNAPSHOT
+ 5.4.0-SNAPSHOT
phoenix-server-${hbase.suffix}
jar
diff --git a/phoenix-tracing-webapp/pom.xml b/phoenix-tracing-webapp/pom.xml
index 3dd2cecadc8..bb45e192c9c 100755
--- a/phoenix-tracing-webapp/pom.xml
+++ b/phoenix-tracing-webapp/pom.xml
@@ -21,7 +21,7 @@
org.apache.phoenix
phoenix
- 5.3.0-SNAPSHOT
+ 5.4.0-SNAPSHOT
phoenix-tracing-webapp
diff --git a/pom.xml b/pom.xml
index 3114d5e4a9d..ffcebfaeb71 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
org.apache.phoenix
phoenix
- 5.3.0-SNAPSHOT
+ 5.4.0-SNAPSHOT
pom
Apache Phoenix
A SQL layer over HBase