drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krystal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-720) LENGTH(string bytea, encoding name) function fails to execute
Date Thu, 19 Jun 2014 18:18:25 GMT

    [ https://issues.apache.org/jira/browse/DRILL-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14037621#comment-14037621
] 

Krystal commented on DRILL-720:
-------------------------------

git.commit.id.abbrev=894037a

Verified that bug is fixed.  Besides working with bytea string as parameter, a user can also
enter plain text string.

> LENGTH(string bytea, encoding name) function fails to execute
> -------------------------------------------------------------
>
>                 Key: DRILL-720
>                 URL: https://issues.apache.org/jira/browse/DRILL-720
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>    Affects Versions: 1.0.0-milestone-1
>            Reporter: Krystal
>            Assignee: DrillCommitter
>             Fix For: 1.0.0-BETA1
>
>         Attachments: DRILL-720.patch
>
>
> The LENGTH(string bytea, encoding name) function fails with the following error:
> select length('\x6170706c65','UTF8') from voter where voter_id=10;
> Query failed: org.apache.drill.exec.rpc.RpcException: [error_id: "92a9be62-c2a6-44aa-a0f6-c0185abde201"
> endpoint {
>   user_port: 31010
>   control_port: 31011
>   data_port: 31012
> }
> error_type: 0
> message: "Screen received stop request sent. < SchemaChangeException:[ Failure while
trying to materialize incoming schema.  Errors:
>  
> Error in expression at index -1.  Error: Missing function implementation: [lengthUtf8(VARCHAR-REQUIRED)].
 Full expression: --UNKNOWN EXPRESSION--.. ]" 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message