You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Bob Rumsby (JIRA)" <ji...@apache.org> on 2014/11/20 03:59:33 UTC

[jira] [Created] (DRILL-1757) REPEATED_CONTAINS does not support wildcards

Bob Rumsby created DRILL-1757:
---------------------------------

             Summary: REPEATED_CONTAINS does not support wildcards
                 Key: DRILL-1757
                 URL: https://issues.apache.org/jira/browse/DRILL-1757
             Project: Apache Drill
          Issue Type: Bug
          Components: Functions - Drill
    Affects Versions: 0.6.0
         Environment: 0.7.0 on MacOSX, embedded mode
            Reporter: Bob Rumsby


REPEATED_CONTAINS does not seem to support the % or * wildcard. If this is expected behavior (I assume not), it needs to be documented.

0: jdbc:drill:zk=local> select name, repeated_contains(categories, 'Doctors') from dfs.yelp.`yelp_academic_dataset_business.json` limit 1;
+------------+------------+
|    name    |   EXPR$1   |
+------------+------------+
| Eric Goldberg, MD | true       |
+------------+------------+
1 row selected (0.087 seconds)
0: jdbc:drill:zk=local> select name, repeated_contains(categories, 'Doc%') from dfs.yelp.`yelp_academic_dataset_business.json` limit 1;
+------------+------------+
|    name    |   EXPR$1   |
+------------+------------+
| Eric Goldberg, MD | false      |
+------------+------------+
1 row selected (0.093 seconds)
0: jdbc:drill:zk=local> select name, repeated_contains(categories, 'Doc*') from dfs.yelp.`yelp_academic_dataset_business.json` limit 1;
+------------+------------+
|    name    |   EXPR$1   |
+------------+------------+
| Eric Goldberg, MD | false      |
+------------+------------+
1 row selected (0.09 seconds)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)