mani_22
Databricks Employee
Databricks Employee

@karunakaran_r Are you trying to read or write to a table with RLS/CM enabled using a file path directly instead of specifying the table name?

You cannot specify the table path for reading and writing tables with RLS/CM enabled. You would have to read the table by its catalog and schema.

Eg:

=> Use spark.read.table("my_catalog.my_schema.my_secure_table") instead of spark.read.format("delta").load(“abfss:/my-secure-table-path")