You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by GitBox <gi...@apache.org> on 2020/03/09 13:49:50 UTC

[GitHub] [phoenix] mihir6692 commented on a change in pull request #726: Phoenix-5760 Pherf Support Sequential Datatypes for INTEGER type fields and have fixed row distribution

mihir6692 commented on a change in pull request #726: Phoenix-5760 Pherf Support Sequential Datatypes for INTEGER type fields and have fixed row distribution
URL: https://github.com/apache/phoenix/pull/726#discussion_r389683565
 
 

 ##########
 File path: phoenix-pherf/src/test/java/org/apache/phoenix/pherf/RuleGeneratorTest.java
 ##########
 @@ -175,7 +175,26 @@ public void testSequentialDataSequence() throws Exception {
         Column targetColumn = null;
         for (Column column : model.getDataMappingColumns()) {
             DataSequence sequence = column.getDataSequence();
-            if (sequence == DataSequence.SEQUENTIAL) {
+            if (!DataTypeMapping.INTEGER.equals(column.getType()) && sequence == DataSequence.SEQUENTIAL) {
+                targetColumn = column;
+                break;
+            }
+        }
+        assertNotNull("Could not find a DataSequence.SEQENTIAL rule.", targetColumn);
+        assertMultiThreadedIncrementValue(targetColumn, rulesApplier);
+    }
+
+    @Test
+    public void :testSequentialIntegerDataSequence() throws Exception {
 
 Review comment:
   extra ":" , this won't compile.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services