Taoli created CARBONDATA-4220: --------------------------------- Summary: Should't delete the entire directory recursively when the table creation fails Key: CARBONDATA-4220 URL: https://issues.apache.org/jira/browse/CARBONDATA-4220 Project: CarbonData Issue Type: Bug Components: spark-integration Reporter: Taoli
when the table creation fails, carbondata delete the entire directory of tablePath recursively when catch the AnalysisException. the tablePath may be specified by the user through location. if the specified location include any other folders, they may be delete by this protection mechanism. Delete should only contain files and folders created by createtable command. -- This message was sent by Atlassian Jira (v8.3.4#803005)