danny0405 commented on code in PR #8747:
URL: https://github.com/apache/hudi/pull/8747#discussion_r1198542011


##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/TestAlterTable.scala:
##########
@@ -200,6 +201,13 @@ class TestAlterTable extends HoodieSparkSqlTestBase {
         checkAnswer(s"select id, name, price, ts, dt from $tableName2")(
           Seq(1, "a1", 10.0, 1000, null)
         )
+
+        if (HoodieSparkUtils.gteqSpark3_1) {
+          withSQLConf("hoodie.schema.on.read.enable" -> "true") {

Review Comment:
   Can you explain a little more why we need this?



-- 
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]

Reply via email to