cloud-fan commented on a change in pull request #30574:
URL: https://github.com/apache/spark/pull/30574#discussion_r535081824



##########
File path: 
sql/core/src/test/scala/org/apache/spark/sql/execution/command/PlanResolutionSuite.scala
##########
@@ -49,6 +51,7 @@ class PlanResolutionSuite extends AnalysisTest {
   private val table: Table = {
     val t = mock(classOf[Table])
     when(t.schema()).thenReturn(new StructType().add("i", "int").add("s", 
"string"))
+    when(t.partitioning()).thenReturn(Array.empty[Transform])

Review comment:
       yes, otherwise some tests fail because they insert into the table and 
need to check the table partition columns.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to