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/05/01 00:26:00 UTC
[jira] [Work logged] (HIVE-25969) Unable to reference table column named default
[ https://issues.apache.org/jira/browse/HIVE-25969?focusedWorklogId=764715&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-764715 ]
ASF GitHub Bot logged work on HIVE-25969:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 01/May/22 00:25
Start Date: 01/May/22 00:25
Worklog Time Spent: 10m
Work Description: github-actions[bot] closed pull request #3045: HIVE-25969: Unable to reference table column named default
URL: https://github.com/apache/hive/pull/3045
Issue Time Tracking
-------------------
Worklog Id: (was: 764715)
Time Spent: 0.5h (was: 20m)
> 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: 0.5h
> 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)