cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Delta live table UC Kinesis: options overwriteschema, ignorechanges not supported for data sourc

alemo
New Contributor III

I try to build a DLT in UC with Kinesis as producer.

My first table looks like: 

 

@dlt.create_table(
table_properties={
"pipelines.autoOptimize.managed": "true"
},
spark_conf={"spark.databricks.delta.schema.autoMerge.enabled": "true"},
)

def feed_chunks():
return (
spark.readStream.format("kinesis")
.option("streamName", stream_name)
.option("ignoreChanges", "true")
.option("overwriteSchema", "true")
.option("roleArn", "arn:aws:iam::xxxxx:role/xxxxx-read-role")
.option("region", "eu-west-1")
.load()
)

And I get this error:

pyspark.errors.exceptions.AnalysisException: [UNSUPPORTED_STREAMING_OPTIONS_PERMISSION_ENFORCED] 
Streaming options overwriteschema, ignorechanges are not supported for
data source kinesis on a shared cluster.

Is this a know limitation of DLT x UC ?

The same DLT with simple hive metastore works fine.

3 REPLIES 3

sawya
New Contributor II

Hi,

Did you found a solution ? I have the same problem

Thanks !

Corbin
Databricks Employee
Databricks Employee

If you use the "Preview" Channel in the "Advanced" section of the DLT Pipeline, this error should resolve itself. This fix is planned to make it into the "Current" channel by Aug 31, 2023

sawya
New Contributor II

Hello !

My pipeline is already in Advanced mode because I'm using Unity Catalog in storage options

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group