Github user sujith71955 commented on the issue:
https://github.com/apache/spark/pull/20611
@wzhfy Actually its not a behavior change , i think this condition was
working in other spark 2.x versions. Some time back a PR is been added for
load command hdfs path validation, in this PR fs.exists() has been used for
checking whether the particular hdfs path is valid or invalid, but exist() API
cannot recognize valid paths with wildcard character so it started throwing
exception. this PR was raised by me :) .
Previously system was not validating if user provides invalid hdfs path and
for local paths handling was there, so in-order to make it consistent i
provided a patch which has been merged. so in-order to correct it completely i
feel this patch we can consider. Thanks
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]