Skip to content
Browse files

[SPARK-23276][SQL][TEST] Enable UDT tests in (Hive)OrcHadoopFsRelatio…


## What changes were proposed in this pull request?

Like Parquet, ORC test suites should enable UDT tests.

## How was this patch tested?

Pass the Jenkins with newly enabled test cases.

Author: Dongjoon Hyun <>

Closes #20440 from dongjoon-hyun/SPARK-23276.

(cherry picked from commit 7786616)
Signed-off-by: gatorsmile <>
  • Loading branch information...
dongjoon-hyun authored and gatorsmile committed Jan 31, 2018
1 parent 7b9fe08 commit 6ed0d57f86e76f37c4ca1c6d721fc235dcec520e
@@ -33,11 +33,10 @@ class OrcHadoopFsRelationSuite extends HadoopFsRelationTest {
override val dataSourceName: String =

// ORC does not play well with NullType and UDT.
// ORC does not play well with NullType.
override protected def supportsDataType(dataType: DataType): Boolean = dataType match {
case _: NullType => false
case _: CalendarIntervalType => false
case _: UserDefinedType[_] => false
case _ => true

0 comments on commit 6ed0d57

Please sign in to comment.
You can’t perform that action at this time.