[
https://issues.apache.org/jira/browse/HIVE-25983?focusedWorklogId=734448&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-734448
]
ASF GitHub Bot logged work on HIVE-25983:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 01/Mar/22 09:14
Start Date: 01/Mar/22 09:14
Worklog Time Spent: 10m
Work Description: kasakrisz commented on pull request #3054:
URL: https://github.com/apache/hive/pull/3054#issuecomment-1055193248
@dh20
I run the following query using apache master
```
SELECT concat_ws(',', array(1, 2, 3));
```
and got
```
Argument 2 of function CONCAT_WS must be "string or array<string>", but
"array<int>" was found.
```
This seems to be ok since it clearly indicates that an `array of int` was
passed but an `array of string` is expected.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 734448)
Time Spent: 1h (was: 50m)
> 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: 1h
> 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)