the-other-tim-brown commented on code in PR #17771:
URL: https://github.com/apache/hudi/pull/17771#discussion_r2838461385
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/TestAvroSchemaResolutionSupport.scala:
##########
@@ -120,26 +120,25 @@ class TestAvroSchemaResolutionSupport extends
HoodieClientTestBase with ScalaAss
// convert int to string first before conversion to binary
val initDF = prepDataFrame(df1, colInitType)
initDF.printSchema()
- initDF.show(false)
+ initDF.collect
// recreate table
initialiseTable(initDF, tempRecordPath, tableType)
// perform avro supported casting
var upsertDf = prepDataFrame(df2, colInitType)
upsertDf = castColToX(a, colToCast, upsertDf)
- upsertDf.printSchema()
- upsertDf.show(false)
+ upsertDf.schema.toString()
Review Comment:
This just triggers the schema fetching to mirror what was happening before.
--
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]