dengziming commented on code in PR #51686:
URL: https://github.com/apache/spark/pull/51686#discussion_r2241514736
##########
sql/core/src/test/scala/org/apache/spark/sql/connector/DataSourcePushdownTestUtils.scala:
##########
@@ -182,9 +182,7 @@ trait DataSourcePushdownTestUtils extends
ExplainSuiteHelper {
assert(dfSchema.length == schema.length)
dfSchema.fields.zip(schema.fields).foreach { case (f1, f2) =>
- if (f2.name.nonEmpty) {
- assert(f1.name == f2.name)
- }
+ assert(f1.name == f2.name)
Review Comment:
Since field names are deterministic now, we can check all names. cc
@PetarVasiljevic-DB
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]