You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/03/01 02:39:00 UTC

[jira] [Work logged] (HIVE-25983) CONCAT_ The error thrown by WS function when the array passed in is a non string array is a problem

     [ https://issues.apache.org/jira/browse/HIVE-25983?focusedWorklogId=734320&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-734320 ]

ASF GitHub Bot logged work on HIVE-25983:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 01/Mar/22 02:38
            Start Date: 01/Mar/22 02:38
    Worklog Time Spent: 10m 
      Work Description: dh20 commented on pull request #3054:
URL: https://github.com/apache/hive/pull/3054#issuecomment-1054926825


   I submitted a test case that will throw this error [argument 2 of function concat_ws must be "string or array", but "array" was found.] However, this error is wrong, because what the user passes in is indeed an array. The real error is that it prompts the user that the element in this tenant is not a string type, for example [array 2 of function concat_ws must be "string or array < string >", but the element in this array is int was found]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 734320)
    Time Spent: 40m  (was: 0.5h)

> CONCAT_ The error thrown by WS function when the array passed in is a non string array is a problem
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-25983
>                 URL: https://issues.apache.org/jira/browse/HIVE-25983
>             Project: Hive
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.1.2
>            Reporter: hao
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> CONCAT_ The error thrown by WS function when the array passed in is a non string array is a problem。
> This error still prompts the user to pass in an array, but the real error is not to pass in an array. It should prompt the user to pass in an array of string type



--
This message was sent by Atlassian Jira
(v8.20.1#820001)