drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Nadeau (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-1757) Add support for wildcards within REPEATED_CONTAINS
Date Sun, 04 Jan 2015 23:57:38 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacques Nadeau updated DRILL-1757:
----------------------------------
    Fix Version/s: Future
          Summary: Add support for wildcards within REPEATED_CONTAINS  (was: REPEATED_CONTAINS
does not support wildcards)

> 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
>             Fix For: Future
>
>
> 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)

Mime
View raw message