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':" + 
  values._2.map(_._2).toSeq + "});"
  println("QQ:"+query)
  sc.sparkContext
    .couchbaseQuery(N1qlQuery.simple(query), bucketName = userBucketName)
    .collect()

but this query not insert into CB and values._2.map(_._2) size more than millions

Check limits

https://developer.couchbase.com/documentation/server/4.0/clustersetup/server-setup.html

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