cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
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
New Contributor III
New Contributor III

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