Skip to content

Commit c38ca7c

Browse files
committed
Removes an unreachable case clause
1 parent 161d0b4 commit c38ca7c

File tree

1 file changed

+0
-1
lines changed
  • sql/core/src/main/scala/org/apache/spark/sql/sources

1 file changed

+0
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/sources/rules.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ private[sql] case class PreWriteCheck(catalog: Catalog) extends (LogicalPlan =>
101101
}
102102
}
103103

104-
case logical.InsertIntoTable(LogicalRelation(_: InsertableRelation), _, _, _, _) => // OK
105104
case logical.InsertIntoTable(LogicalRelation(_: HadoopFsRelation), _, _, _, _) => // OK
106105
case logical.InsertIntoTable(l: LogicalRelation, _, _, _, _) =>
107106
// The relation in l is not an InsertableRelation.

0 commit comments

Comments
 (0)