kadirozde commented on a change in pull request #747: PHOENIX-5807 Index rows 
without empty column should be treated as unv…
URL: https://github.com/apache/phoenix/pull/747#discussion_r399930562
 
 

 ##########
 File path: 
phoenix-core/src/it/java/org/apache/phoenix/end2end/index/GlobalIndexCheckerIT.java
 ##########
 @@ -169,6 +171,48 @@ public void testDeleteNonExistingRow() throws Exception {
         }
     }
 
+    @Test
+    public void testIndexRowWithoutEmptyColumn() throws Exception {
+        if (async) {
+            // No need to run the same test twice one for async = true and the 
other for async = false
+            return;
+        }
+        long scn;
+        String dataTableName = generateUniqueName();
+        String indexTableName = generateUniqueName();
+        try (Connection conn = DriverManager.getConnection(getUrl())) {
+            populateTable(dataTableName); // with two rows ('a', 'ab', 'abc', 
'abcd') and ('b', 'bc', 'bcd', 'bcde')
+            Thread.sleep(1000);
 
 Review comment:
   Sleep is not necessary. I forgot to remove it. Thank you for catching it

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to