You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Taoli (Jira)" <ji...@apache.org> on 2021/06/21 08:51:00 UTC

[jira] [Created] (CARBONDATA-4218) AnalysisException may cause delete the wrong folder

Taoli created CARBONDATA-4218:
---------------------------------

             Summary: AnalysisException may cause delete the wrong folder
                 Key: CARBONDATA-4218
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-4218
             Project: CarbonData
          Issue Type: Bug
          Components: spark-integration
    Affects Versions: 2.1.1
            Reporter: Taoli


If analysisException is caught when creating a table. 

carbondata will call deleteAllCarbonFilesOfDir fun to delete the files.

if this folder has some other files then the delete operation is dangerous.

we can use the hdsf trashcan mechanism, while delete move to trash first.

uder our product system a false deletion has occurred.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)