Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update OrcFileFormat.scala
  • Loading branch information
AngersZhuuuu committed Jan 21, 2022
commit 8e3a409e982aa6820603c532360b45cf54e99332
Original file line number Diff line number Diff line change
Expand Up @@ -228,13 +228,4 @@ class OrcFileFormat

case _ => false
}

override def supportFieldName(name: String): Boolean = {
try {
TypeDescription.fromString(s"struct<`$name`:int>")
true
} catch {
case _: IllegalArgumentException => false
}
}
}