I want to convert this json array into dataframe with the couchbase connector . Also this json array is not fixed , so i cannot add the schema mannualy and also i cannot add the key to the array.
Have tried this code after doing indexing on the bucket and putting all the mandatory configurations such as username , password ,serverIp etc.
val jsonArray = sql.read.couchbase
But resulted dataframe only contains META_ID. It is unable to read the schema of json array.
What to do ?