limatakamaidotcom-github opened a new issue, #14436: URL: https://github.com/apache/iceberg/issues/14436
### Query engine Spark ### Question I have an inquiry about the proper use of SparkTable’s refreshEagerly. When SparkTable is instantiated, it derives Spark Schema from the wrapped icebergTable object’s current snapshot. If refreshEagerly=true (when catalog cache is enabled), by the time of newScanBuilder is called, icebergTable.refresh is invoked. In case Iceberg table schema has evolved in-between, won’t a newer schema be passed to SparkScanBuilder to build the scan? Won’t this has potential schema mismatch issue? -- 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]
