Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ class OrcHadoopFsRelationSuite extends HadoopFsRelationTest {
override val dataSourceName: String =
classOf[org.apache.spark.sql.execution.datasources.orc.OrcFileFormat].getCanonicalName

// 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
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both OrcHadoopFsRelationSuite and HiveOrcHadoopFsRelationSuite enables UDT tests.

case _ => true
}

Expand Down