[
https://issues.apache.org/jira/browse/HIVE-24855?focusedWorklogId=570659&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-570659
]
ASF GitHub Bot logged work on HIVE-24855:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Mar/21 17:21
Start Date: 23/Mar/21 17:21
Worklog Time Spent: 10m
Work Description: jcamachor commented on a change in pull request #2046:
URL: https://github.com/apache/hive/pull/2046#discussion_r599778851
##########
File path: ql/src/test/queries/clientpositive/fetch_deleted_rows.q
##########
@@ -0,0 +1,48 @@
+set hive.support.concurrency=true;
+set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;
+SET hive.vectorized.execution.enabled=false;
+
+create table t1(a int, b varchar(128)) stored as orc tblproperties
('transactional'='true');
+
+insert into t1(a,b) values (1, 'one'), (2, 'two');
+
+delete from t1 where a = 1;
+
+insert into t1(a,b) values (3, 'three'), (4, 'four'), (4, 'four again'), (5,
'five');
+
+alter table t1 set tblproperties ('acid.fetch.deleted.rows'='true');
+select t1.ROW__IS__DELETED, * from t1;
Review comment:
Just leaving a note. I think this syntax passing the table properties in
the query should also work (if that's the case, maybe we can add a query with
it):
```
select t1.ROW__IS__DELETED, *
from t1('acid.fetch.deleted.rows'='true');
```
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 570659)
Time Spent: 1h 20m (was: 1h 10m)
> Introduce virtual colum ROW__IS__DELETED
> ----------------------------------------
>
> Key: HIVE-24855
> URL: https://issues.apache.org/jira/browse/HIVE-24855
> Project: Hive
> Issue Type: New Feature
> Reporter: Krisztian Kasa
> Assignee: Krisztian Kasa
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)