The operation CHANGE DATA FEED is not allowed on Streaming Tables.

erigaud
Honored Contributor

Hello everyone,

I have a workflow that starts by reading the CDF data for a change data feed.

The syntax is exactly the following : 

(
spark.readStream
  .format("delta")
  .option("readChangeFeed", "true")
  .option("startingVersion", 10)
  .table("my.streaming.table")
  .display()
  )
 
I get the following error : 
[STREAMING_TABLE_OPERATION_NOT_ALLOWED.UNSUPPORTED_OPERATION] The operation CHANGE DATA FEED is not allowed: The operation is not supported on Streaming Tables.
I made sure the version exists in the history of the table, and the CDF is enabled for my table.
A couple of weeks ago the code used to run without issue, did something change ? Thank you