phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anoopsamj...@apache.org
Subject git commit: PHOENIX-1000 Support FIRST_VALUE, LAST_VALUE, and NTH_VALUE aggregate functions. Addendum
Date Wed, 02 Jul 2014 15:20:51 GMT
Repository: phoenix
Updated Branches:
  refs/heads/master 858dd40b6 -> 34c7cbc5f


PHOENIX-1000 Support FIRST_VALUE, LAST_VALUE, and NTH_VALUE aggregate functions. Addendum


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

Branch: refs/heads/master
Commit: 34c7cbc5fca91ca1d75a184c7327e967769166e4
Parents: 858dd40
Author: anoopsjohn <anoopsamjohn@gmail.com>
Authored: Wed Jul 2 20:50:26 2014 +0530
Committer: anoopsjohn <anoopsamjohn@gmail.com>
Committed: Wed Jul 2 20:50:26 2014 +0530

----------------------------------------------------------------------
 .../it/java/org/apache/phoenix/end2end/FirstValueFunctionIT.java | 4 ++--
 .../it/java/org/apache/phoenix/end2end/NthValueFunctionIT.java   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/34c7cbc5/phoenix-core/src/it/java/org/apache/phoenix/end2end/FirstValueFunctionIT.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/FirstValueFunctionIT.java
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/FirstValueFunctionIT.java
index cd81b66..de19cec 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/FirstValueFunctionIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/FirstValueFunctionIT.java
@@ -53,7 +53,7 @@ public class FirstValueFunctionIT extends BaseHBaseManagedTimeIT {
         Connection conn = DriverManager.getConnection(getUrl());
 
         String ddl = "CREATE TABLE IF NOT EXISTS first_value_table "
-                + "(id INTEGER NOT NULL, page_id UNSIGNED_LONG NOT NULL,"
+                + "(id INTEGER NOT NULL, page_id UNSIGNED_LONG,"
                 + " dates BIGINT NOT NULL, \"value\" BIGINT CONSTRAINT pk PRIMARY KEY (id,
dates DESC))";
         conn.createStatement().execute(ddl);
 
@@ -77,7 +77,7 @@ public class FirstValueFunctionIT extends BaseHBaseManagedTimeIT {
         Connection conn = DriverManager.getConnection(getUrl());
 
         String ddl = "CREATE TABLE IF NOT EXISTS first_value_table "
-                + "(id INTEGER NOT NULL, page_id UNSIGNED_LONG NOT NULL,"
+                + "(id INTEGER NOT NULL, page_id UNSIGNED_LONG,"
                 + " dates BIGINT NOT NULL, \"value\" BIGINT NOT NULL CONSTRAINT pk PRIMARY
KEY (id, dates, \"value\" DESC))";
         conn.createStatement().execute(ddl);
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/34c7cbc5/phoenix-core/src/it/java/org/apache/phoenix/end2end/NthValueFunctionIT.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/NthValueFunctionIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/NthValueFunctionIT.java
index 61704b0..94067f9 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/NthValueFunctionIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/NthValueFunctionIT.java
@@ -126,7 +126,7 @@ public class NthValueFunctionIT extends BaseHBaseManagedTimeIT {
         Connection conn = DriverManager.getConnection(getUrl());
 
         String ddl = "CREATE TABLE IF NOT EXISTS nth_test_table "
-                + "(id INTEGER NOT NULL, page_id UNSIGNED_LONG NOT NULL,"
+                + "(id INTEGER NOT NULL, page_id UNSIGNED_LONG,"
                 + " dates BIGINT NOT NULL, \"value\" BIGINT NOT NULL CONSTRAINT pk PRIMARY
KEY (id, dates, \"value\" DESC))";
         conn.createStatement().execute(ddl);
 


Mime
View raw message