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 Mon, 02 Jun 2014 15:52:01 GMT

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

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

Postgres implicitly converts the string to bytea.  

> 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
>
> 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