You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2015/04/06 23:00:12 UTC

[jira] [Updated] (DRILL-2456) regexp_replace using hex codes fails on larger JSON data sets

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

Parth Chandra updated DRILL-2456:
---------------------------------
    Fix Version/s:     (was: 0.9.0)
                   1.0.0

> regexp_replace using hex codes fails on larger JSON data sets
> -------------------------------------------------------------
>
>                 Key: DRILL-2456
>                 URL: https://issues.apache.org/jira/browse/DRILL-2456
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>    Affects Versions: 0.7.0
>         Environment: Drill 0.7
> MapR 4.0.1
> CentOS
>            Reporter: Andries Engelbrecht
>            Assignee: Mehant Baid
>             Fix For: 1.0.0
>
>         Attachments: drillbit.log
>
>
> This query works with only 1 file
> select regexp_replace(`text`, '[^\x20-\xad]', '°'), count(id)  from dfs.twitter.`/feed/2015/03/13/17/FlumeData.1426267859699.json` group by `text` order by count(id) desc limit 10;
> This one fails with multiple files
> select regexp_replace(`text`, '[^\x20-\xad]', '°'), count(id)  from dfs.twitter.`/feed/2015/03/13` group by `text` order by count(id) desc limit 10;
> Query failed: Query failed: Failure while trying to start remote fragment, Encountered an illegal char on line 1, column 31: '' [ 43ff1aa4-4a71-455d-b817-ec5eb8d179bb on twitternode:31010 ]
> Using text in regexp_replace does work for same dataset.
> This query works fine on full data set.
> select regexp_replace(`text`, '[^ -~¡-ÿ]', '°'), count(id)  from dfs.twitter.`/feed/2015/03/13` group by `text` order by count(id) desc limit 10;
> Attached snippet drillbit.log for error



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