amaliujia commented on code in PR #40025:
URL: https://github.com/apache/spark/pull/40025#discussion_r1107754835
##########
connector/connect/client/jvm/src/test/scala/org/apache/spark/sql/PlanGenerationTestSuite.scala:
##########
@@ -184,6 +194,38 @@ class PlanGenerationTestSuite extends ConnectFunSuite with
BeforeAndAfterAll wit
session.range(1, 10, 1, 2)
}
+ test("read") {
+ session.read.format("text")
+ .schema(StructType(StructField("name", StringType) :: StructField("age",
IntegerType) :: Nil))
+ .option("op1", "op1")
+ .options(Map("op2" -> "op2"))
+ .load(testDataPath.resolve("people.txt").toString)
Review Comment:
Why we need the physical data files checked in? If we only compare the plans
then we only need a fake data path?
--
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]