Github user paul-rogers commented on a diff in the pull request:

    https://github.com/apache/drill/pull/1072#discussion_r158161881
  
    --- Diff: 
exec/java-exec/src/test/java/org/apache/drill/exec/expr/fn/impl/TestSqlPatterns.java
 ---
    @@ -446,6 +446,61 @@ public void testSqlPatternComplex() {
         assertEquals(1, sqlPatternComplex.match(0, byteBuffer.limit(), 
drillBuf)); // should match
       }
     
    +  @Test
    +  public void testSqlPatternContainsMUltipleMatchers() {
    --- End diff --
    
    These tests are incomplete. We do not test:
    
    * Pattern length = input length, match
    * Pattern length = input length, no match
    * Pattern length < input length
    * Pattern length = 0
    * Non-ASCII paterns and/or data
    * Data longer than the internal table sizes
    * Patterns of each of the special lengths for each of the above cases: 
match, not match, shorter, equals, longer


---

Reply via email to