Skip to content

Commit 2d74b20

Browse files
committed
Use 'hive' for ORC
1 parent 140f875 commit 2d74b20

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/sql-programming-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1784,7 +1784,7 @@ working with timestamps in `pandas_udf`s to get the best performance, see
17841784
<tr><th><b>Property Name</b></th><th><b>Default</b></th><th><b>Meaning</b></th></tr>
17851785
<tr>
17861786
<td><code>spark.sql.orc.impl</code></td>
1787-
<td><code>native</code></td>
1787+
<td><code>hive</code></td>
17881788
<td>The name of ORC implementation. It can be one of <code>native</code> and <code>hive</code>. <code>native</code> means the native ORC support that is built on Apache ORC 1.4.1. `hive` means the ORC library in Hive 1.2.1 which is used prior to Spark 2.3.</td>
17891789
</tr>
17901790
<tr>

sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,11 +399,11 @@ object SQLConf {
399399

400400
val ORC_IMPLEMENTATION = buildConf("spark.sql.orc.impl")
401401
.doc("When native, use the native version of ORC support instead of the ORC library in Hive " +
402-
"1.2.1. It is 'hive' by default prior to Spark 2.3.")
402+
"1.2.1. It is 'hive' by default.")
403403
.internal()
404404
.stringConf
405405
.checkValues(Set("hive", "native"))
406-
.createWithDefault("native")
406+
.createWithDefault("hive")
407407

408408
val ORC_VECTORIZED_READER_ENABLED = buildConf("spark.sql.orc.enableVectorizedReader")
409409
.doc("Enables vectorized orc decoding.")

0 commit comments

Comments
 (0)