Azure / Azure/azure-sdk-for-java
[UC_COMMAND_NOT_SUPPORTED.WITHOUT_RECOMMENDATION] The command(s): AppendData are not supported in Unity Catalog. SQLSTATE: 0AKUC
Open
Client
Cosmos
customer-reported
needs-team-attention
question
Service Attention
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 2.2k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 178
Description
When I am trying to write data to Cosmos db from Azure databricks spark dataframe , it is giving the below errror:
[UC_COMMAND_NOT_SUPPORTED.WITHOUT_RECOMMENDATION] The command(s): AppendData are not supported
com.azure.cosmos.spark:azure-cosmos-spark_3-5_2-12:4.37.2
Do I need to disable the UC cluster settings for my AP cluster and read it from abfss path to push it to cosmos db
df=spark.sql(query)
# Write data to Cosmos DB
df.write.format("cosmos.oltp") \
.options(**cosmos_options) \
.mode("append") \
.save()
Contributor guide
Assessment
This issue has not been assessed yet.