1. [SPARK-25738][SQL] Fix LOAD DATA INPATH for hdfs port (details)
Commit fdaa99897ac8755938d031896ae0eefb46ce7107 by vanzin
[SPARK-25738][SQL] Fix LOAD DATA INPATH for hdfs port
## What changes were proposed in this pull request?
LOAD DATA INPATH didn't work if the defaultFS included a port for hdfs.
Handling this just requires a small change to use the correct URI
## How was this patch tested?
Added a unit test, ran all tests via jenkins
Closes #22733 from squito/SPARK-25738.
Authored-by: Imran Rashid <> Signed-off-by: Marcelo
Vanzin <>
The file was modifiedsql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala (diff)
The file was modifiedsql/core/src/main/scala/org/apache/spark/sql/execution/command/tables.scala (diff)