[ 
https://issues.apache.org/jira/browse/HIVE-25969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Krisztian Kasa resolved HIVE-25969.
-----------------------------------
    Resolution: Fixed

Pushed to master. Thanks [~kgyrtkirk] for review.

> Unable to reference table column named default
> ----------------------------------------------
>
>                 Key: HIVE-25969
>                 URL: https://issues.apache.org/jira/browse/HIVE-25969
>             Project: Hive
>          Issue Type: Bug
>          Components: Parser
>            Reporter: Krisztian Kasa
>            Assignee: Krisztian Kasa
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> {code}
> CREATE TABLE t1 (a int, `default` int) stored as orc TBLPROPERTIES 
> ('transactional'='true');
> insert into t1 values (1, 2), (10, 11);
> update t1 set a = `default`;
> select * from t1;
> {code}
> result is
> {code}
> NULL  NULL
> NULL  NULL
> {code}
> but it should be
> {code}
> 11    11
> 2     2
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to