[ https://issues.apache.org/jira/browse/HIVE-27995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-27995: ---------------------------------- Labels: pull-request-available (was: ) > Fix inconsistent behavior of LOAD DATA command for partitioned and > non-partitioned tables > ----------------------------------------------------------------------------------------- > > Key: HIVE-27995 > URL: https://issues.apache.org/jira/browse/HIVE-27995 > Project: Hive > Issue Type: Bug > Reporter: Shivangi Jha > Assignee: Shivangi Jha > Priority: Major > Labels: pull-request-available > > For partitioned tables, while executing LOAD DATA/ LOAD DATA LOCAL commands, > the check for file existence is not executed on HiveServer2, and this in turn > throws an error during Runtime once the job is launched. > {code:java} > java.io.FileNotFoundException: File file:/<filepath> does not exist.{code} > Non-partitioned tables do not follow this control flow, and the checks are > run appropriately at compile time. > Incase the file does not exist, user is presented with the error. > {code:java} > Invalid path "file:///<filepath>: No files matching path > file:/<filepath>{code} > This is inconsistent and error prone behavior. -- This message was sent by Atlassian Jira (v8.20.10#820010)