sumeetgajjar commented on code in PR #37505:
URL: https://github.com/apache/spark/pull/37505#discussion_r946264236
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/BatchScanExec.scala:
##########
@@ -37,7 +37,8 @@ case class BatchScanExec(
@transient scan: Scan,
runtimeFilters: Seq[Expression],
keyGroupedPartitioning: Option[Seq[Expression]] = None,
- ordering: Option[Seq[SortOrder]] = None) extends DataSourceV2ScanExecBase {
+ ordering: Option[Seq[SortOrder]] = None,
+ table: Option[String] = None) extends DataSourceV2ScanExecBase {
Review Comment:
After making `CaseInsensitiveStringMap` serializable the test fails with
`InvalidClassException` for `AvroTable` during deserialization
```java
[info] AvroV2LogicalTypeSuite:
[info] - Logical type: write Decimal with BYTES type *** FAILED *** (4
seconds, 852 milliseconds)
[info] org.apache.spark.SparkException: Job aborted due to stage failure:
Task 0 in stage 1.0 failed 1 times, most recent failure: Lost task 0.0 in stage
1.0 (TID 1) (192.168.0.109 executor driver): java.io.InvalidClassException:
org.apache.spark.sql.v2.avro.AvroTable; no valid constructor
[info] at
java.base/java.io.ObjectStreamClass$ExceptionInfo.newInvalidClassException(ObjectStreamClass.java:159)
```
--
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]