gengliangwang commented on a change in pull request #35652:
URL: https://github.com/apache/spark/pull/35652#discussion_r814454680



##########
File path: 
sql/core/src/test/scala/org/apache/spark/sql/streaming/TriggerAvailableNowSuite.scala
##########
@@ -128,7 +128,7 @@ class TriggerAvailableNowSuite extends FileStreamSourceTest 
{
           .option("maxFilesPerTrigger", 1)
           .text(src.getCanonicalPath)
 
-        val df2 = testSource.toDF
+        val df2 = testSource.toDF.selectExpr("cast(value as string)")

Review comment:
       explicit cast as string so that we don't need to concern the type 
coercion result of `long union string`




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

Reply via email to