You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Mehant Baid (JIRA)" <ji...@apache.org> on 2015/03/19 03:52:38 UTC
[jira] [Resolved] (DRILL-1757) Add support for wildcards within
REPEATED_CONTAINS
[ https://issues.apache.org/jira/browse/DRILL-1757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mehant Baid resolved DRILL-1757.
--------------------------------
Resolution: Fixed
Fixed in bfbc0e01423ab85f362013a03ef0f00e95cd721b
> Add support for wildcards within REPEATED_CONTAINS
> --------------------------------------------------
>
> Key: DRILL-1757
> URL: https://issues.apache.org/jira/browse/DRILL-1757
> Project: Apache Drill
> Issue Type: New Feature
> Components: Functions - Drill
> Affects Versions: 0.6.0
> Environment: 0.7.0 on MacOSX, embedded mode
> Reporter: Bob Rumsby
> Assignee: Mehant Baid
> Fix For: Future
>
> Attachments: DRILL-1757.patch
>
>
> 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)