Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 686caebff -> d4353e4a5


PHOENIX-4260 Addendum


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

Branch: refs/heads/4.x-HBase-0.98
Commit: d4353e4a5e2594fa09c84e864801c6450d9e3bb6
Parents: 686caeb
Author: Samarth Jain <[email protected]>
Authored: Fri Sep 29 13:17:36 2017 -0700
Committer: Samarth Jain <[email protected]>
Committed: Fri Sep 29 13:17:36 2017 -0700

----------------------------------------------------------------------
 .../NotQueryWithGlobalImmutableIndexesIT.java   | 43 ++++++++++++++++++++
 .../NotQueryWithLocalImmutableIndexesIT.java    | 43 ++++++++++++++++++++
 2 files changed, 86 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/d4353e4a/phoenix-core/src/it/java/org/apache/phoenix/end2end/NotQueryWithGlobalImmutableIndexesIT.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/NotQueryWithGlobalImmutableIndexesIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/NotQueryWithGlobalImmutableIndexesIT.java
new file mode 100644
index 0000000..bff741f
--- /dev/null
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/NotQueryWithGlobalImmutableIndexesIT.java
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.phoenix.end2end;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.junit.runners.Parameterized.Parameters;
+
+import com.google.common.collect.Lists;
+
+public class NotQueryWithGlobalImmutableIndexesIT extends NotQueryIT {
+
+    public NotQueryWithGlobalImmutableIndexesIT(String indexDDL, boolean 
mutable,
+            boolean columnEncoded) throws Exception {
+        super(indexDDL, mutable, columnEncoded);
+    }
+
+    @Parameters(name = "globalIndexDDL={0}")
+    public static Collection<Object> globalIndexes() {
+        List<Object> testCases = Lists.newArrayList();
+        for (String indexDDL : GLOBAL_INDEX_DDLS) {
+            testCases.add(new Object[] { indexDDL, false, false });
+        }
+        return testCases;
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/phoenix/blob/d4353e4a/phoenix-core/src/it/java/org/apache/phoenix/end2end/NotQueryWithLocalImmutableIndexesIT.java
----------------------------------------------------------------------
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/NotQueryWithLocalImmutableIndexesIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/NotQueryWithLocalImmutableIndexesIT.java
new file mode 100644
index 0000000..806b396
--- /dev/null
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/NotQueryWithLocalImmutableIndexesIT.java
@@ -0,0 +1,43 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.phoenix.end2end;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.junit.runners.Parameterized.Parameters;
+
+import com.google.common.collect.Lists;
+
+public class NotQueryWithLocalImmutableIndexesIT extends NotQueryIT {
+
+    public NotQueryWithLocalImmutableIndexesIT(String indexDDL, boolean 
mutable,
+            boolean columnEncoded) throws Exception {
+        super(indexDDL, mutable, columnEncoded);
+    }
+
+    @Parameters(name = "localIndexDDL={0}")
+    public static Collection<Object> localIndexes() {
+        List<Object> testCases = Lists.newArrayList();
+        for (String indexDDL : LOCAL_INDEX_DDLS) {
+            testCases.add(new Object[] { indexDDL, false, false });
+        }
+        return testCases;
+    }
+
+}

Reply via email to