Skip to content

Commit 87f8199

Browse files
committed
Don't strip scheme of output path when writing ORC files
1 parent ddc5baf commit 87f8199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/orc/OrcRelation.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ private[orc] class OrcOutputWriter(
110110
new OrcOutputFormat().getRecordWriter(
111111
new Path(path, filename).getFileSystem(conf),
112112
conf.asInstanceOf[JobConf],
113-
new Path(path, filename).toUri.getPath,
113+
new Path(path, filename).toString,
114114
Reporter.NULL
115115
).asInstanceOf[RecordWriter[NullWritable, Writable]]
116116
}

0 commit comments

Comments
 (0)