lokeshj1703 commented on issue #7430:
URL: https://github.com/apache/hudi/issues/7430#issuecomment-1361162647
@soumilshah1995 I tried out the steps posted by you and ran into same issue
with Athena after hard deletes.
```
hard_delete_df = spark.sql("SELECT * FROM $DB.$TABLE_rt")
print(hard_delete_df.show())
```
But on executing above query in the script, I was able to verify the results
after hard delete.
```
+-------------------+--------------------+------------------+----------------------+--------------------+------+--------------------+-----------+-----+------+---+-----+----------+
|_hoodie_commit_time|_hoodie_commit_seqno|_hoodie_record_key|_hoodie_partition_path|
_hoodie_file_name|emp_id| employee_name|
department|state|salary|age|bonus| ts|
+-------------------+--------------------+------------------+----------------------+--------------------+------+--------------------+-----------+-----+------+---+-----+----------+
| 20221220072524704|20221220072524704...| 1|
|1440cbb6-2a3d-44d...| 1| Justin Potts| HR| FL|
29051| 50|23794| 182319089|
| 20221220072524704|20221220072524704...| 9|
|1440cbb6-2a3d-44d...| 9| Jonathan Curry| Sales| CA|
30139| 38|32531| 553278391|
| 20221220072524704|20221220072524704...| 5|
|1440cbb6-2a3d-44d...| 5| Crystal Bailey| HR| CA|
67670| 33|73686| 979521992|
| 20221220072524704|20221220072524704...| 0|
|1440cbb6-2a3d-44d...| 0| Ronald Knight| IT|
CA|144358| 40|37355| 638291101|
| 20221220072524704|20221220072524704...| 8|
|1440cbb6-2a3d-44d...| 8| Stephen Hayes| IT| RJ|
94273| 60|24935| 187328660|
| 20221220072524704|20221220072524704...| 7|
|1440cbb6-2a3d-44d...| 7| Victor Delgado| HR| CA|
53309| 56|16874| 629223298|
| 20221220072630012|20221220072630012...| 3|
|1440cbb6-2a3d-44d...| 3|this is update on...| Sales| RJ|
81000| 30|23000| 827307999|
| 20221220072524704|20221220072524704...| 2|
|1440cbb6-2a3d-44d...| 2| Linda Hughes| Sales| RJ|
93822| 36|67099| 715415893|
| 20221220072524704|20221220072524704...| 6|
|1440cbb6-2a3d-44d...| 6| Jerry Thomas| Marketing| TX|
72604| 42|61980| 211331663|
| 20221220072614391|20221220072614391...| 11|
|1440cbb6-2a3d-44d...| 11| xxx| Sales| RJ|
81000| 30|23000| 827307999|
| 20221220072614391|20221220072614391...| 12|
|1440cbb6-2a3d-44d...| 12| x change|Engineering| RJ|
79000| 53|15000|1627694678|
| 20221220072630012|20221220072630012...| 3|
|1440cbb6-2a3d-44d...| 3|this is update on...| Sales| RJ|
81000| 30|23000| 827307999|
+-------------------+--------------------+------------------+----------------------+--------------------+------+--------------------+-----------+-----+------+---+-----+----------+
```
It seems like the issue is with query run using Athena.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]