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

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

                Author: ASF GitHub Bot
            Created on: 26/Jan/23 19:37
            Start Date: 26/Jan/23 19:37
    Worklog Time Spent: 10m 
      Work Description: soumyakanti3578 commented on code in PR #3982:
URL: https://github.com/apache/hive/pull/3982#discussion_r1088264787


##########
ql/src/test/queries/clientpositive/udf_convert_charset.q:
##########
@@ -0,0 +1,9 @@
+DESCRIBE FUNCTION convertCharset;
+DESC FUNCTION EXTENDED convertCharset;
+
+explain select convertCharset('TestConvertCharset1', 'UTF-8', 'US-ASCII');
+
+select
+convertCharset('TestConvertCharset1', 'UTF-8', 'US-ASCII'),
+convertCharset('TestConvertCharset2', cast('UTF-8' as varchar(10)), 
'US-ASCII'),
+convertCharset('TestConvertCharset3', cast('UTF-8' as char(5)), 'US-ASCII');

Review Comment:
   nit: please add a new line at the end of the file





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

    Worklog Id:     (was: 841843)
    Time Spent: 1h 10m  (was: 1h)

> Add convertCharset(s, from, to) function
> ----------------------------------------
>
>                 Key: HIVE-26957
>                 URL: https://issues.apache.org/jira/browse/HIVE-26957
>             Project: Hive
>          Issue Type: New Feature
>            Reporter: Bingye Chen
>            Assignee: Bingye Chen
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Add convertCharset(s, from, to) function.
> The function converts the string `s` from the `from` charset to the `to` 
> charset.It is already implemented in clickhouse.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to