I am trying to read and write from/to Azure cosmosDB(mongo API). To achieve that I have mention uri,database,collection details in SparkSession. But when I was running, its throwing database not defined in SparkSession.
I am trying to read and write from/to Azure cosmosDB(mongo API). To achieve that I have mention uri,database,collection details in SparkSession. But when I was running, its throwing database not defined in SparkSession.
Can you please confirm if you are trying to something like defined in this document.
Also can you provide the complete error or error screenshot here.
Regards
Navtej S
@ChandrasekharMandalapu-2127 Please provide us this information to take this issue forward.
Regards
Navtej S
4 people are following this question.