Couchbase N1Ql query insert array using spark not work

I have CB spark connector 2.2.0 and I tried following insert query using spark connector

  val query = "insert into " + userBucketName + " values ('" + values._1 + "',{'data':" + + "});"
    .couchbaseQuery(N1qlQuery.simple(query), bucketName = userBucketName)

but this query not insert into CB and size more than millions

Check limits

This simple query not insert data into CB using spark connector

Perhaps turn up the log level to see what’s happening. I assume you’re not doing millions of records any more. What happens when it fails?

I checked that limit but even I simple insert two values in array but it not work