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 12:13:00 UTC
[jira] [Created] (CARBONDATA-4224) Using CarbonFile to determine
the existence of a file may consume a long time
Taoli created CARBONDATA-4224:
---------------------------------
Summary: Using CarbonFile to determine the existence of a file may consume a long time
Key: CARBONDATA-4224
URL: https://issues.apache.org/jira/browse/CARBONDATA-4224
Project: CarbonData
Issue Type: Bug
Reporter: Taoli
under CarbonCreateTableCommand processMetadata function using
FileFactory.getCarbonFile(path).exists() to check the file exists.
If there are many files in the directory like the /user/hive/warehouse then build CarbonFile may take much more time. it may lead to long waits.
Need to change another way to check path exists.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)