[ 
https://issues.apache.org/jira/browse/FLINK-32787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17762253#comment-17762253
 ] 

luoyuxia edited comment on FLINK-32787 at 9/6/23 3:13 AM:
----------------------------------------------------------

[~hackergin] Thanks for verifying...And sorry for late reply.

If that's the atmoic case, I'd like to suggest to you to clear the paths in 
commit method firstly and then commit the tmp files to the path. So that we can 
make sure it won't consider the old files.

If that's not, I think it may be the case that after drop the table, the files 
actually  is not be deleted and with the existing old files, the rtas just 
create a new table in the existing directory and it won't overwrite the old 
files. I'd like to suggest to  delete the old files before execute the 
\{{REPLACE TABLE }} statement to see what will happen.

cc [~tartarus] 


was (Author: luoyuxia):
[~hackergin] Thanks for verifying...And sorry for late reply.

I'd like to suggest to you to clear the paths in commit method firstly and then 
commit the tmp files to the path. So that we can make sure it won't consider 
the old files.

cc [~tartarus] 

> Release Testing: Verify FLIP-305: Support atomic for CREATE TABLE AS 
> SELECT(CTAS) statement
> -------------------------------------------------------------------------------------------
>
>                 Key: FLINK-32787
>                 URL: https://issues.apache.org/jira/browse/FLINK-32787
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Tests
>    Affects Versions: 1.18.0
>            Reporter: Qingsheng Ren
>            Assignee: Feng Jin
>            Priority: Major
>             Fix For: 1.18.0
>
>         Attachments: image-2023-08-22-19-20-23-490.png, 
> image-2023-08-30-19-28-28-420.png, image-2023-08-30-19-28-36-709.png, 
> image-2023-08-30-19-28-44-721.png, 截屏2023-08-30 19.24.57.png
>
>




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

Reply via email to