srowen commented on a change in pull request #31621:
URL: https://github.com/apache/spark/pull/31621#discussion_r584716198
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/connector/SimpleWritableDataSource.scala
##########
@@ -222,7 +217,7 @@ class CSVDataWriter(fs: FileSystem, file: Path) extends
DataWriter[InternalRow]
private val out = fs.create(file)
override def write(record: InternalRow): Unit = {
- out.writeBytes(s"${record.getLong(0)},${record.getLong(1)}\n")
+ out.writeBytes(s"${record.getInt(0)},${record.getInt(1)}\n")
Review comment:
This change just matches the TestingV2Source.schema?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]