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

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

                Author: ASF GitHub Bot
            Created on: 06/Jan/23 12:20
            Start Date: 06/Jan/23 12:20
    Worklog Time Spent: 10m 
      Work Description: manthanmtg opened a new pull request, #3922:
URL: https://github.com/apache/hive/pull/3922

   ### What changes were proposed in this pull request?
   Added the fix for binary type casting during insert
   
   ### Why are the changes needed?
   The queries were throwing a runtime exception
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, if user uses binary casting in insert
   
   ### How was this patch tested?
   Tested locally, added a qfile for the same in the patch
   




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

            Worklog Id:     (was: 837467)
    Remaining Estimate: 0h
            Time Spent: 10m

> INSERT ... VALUES with BINARY type returns error
> ------------------------------------------------
>
>                 Key: HIVE-26453
>                 URL: https://issues.apache.org/jira/browse/HIVE-26453
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Csaba Ringhofer
>            Assignee: Manthan B Y
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> To reproduce:
> create table bint (b binary);
> insert into table bint values (cast("a" as binary));
> Error: Error while compiling statement: FAILED: RuntimeException Error 
> invoking signature method (state=42000,code=40000)
> The same DML works if I use SELECT instead of values:
> insert into table bint select cast("a" as binary);



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

Reply via email to