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

Reply via email to