Hi @ksenija, In Spark, tables need to explicitly declare their support for batch or streaming scans.
If you’re working with a Delta table, you might need to ensure that the correct configurations are s.... If you’re working with a non-Delta table, you might need to convert it to a format that supports the type of scan you’re trying to perform.
Check the table format: Ensure that the table you’re trying to read supports the type of scan you’re trying to perform. For example, Delta tables support both batch and streaming scans.
Check your Spark configurations: Make sure that your Spark session is correctly configured to work with the table format. For Delta tables, you might need to set certain configurations related to the Delta Spark Session Ex....
Check the scan type: If you’re performing a streaming scan on a table that only supports batch scans, you might need to switch to a batch scan instead.
Conversely, if you’re performing a batch scan on a table that only supports streaming scans, you might need to switch to a streaming scan.