Set ttl (meta expiration) for couchbase document using Spark sql

I am trying to migrate data from db2 to couchbase using couchbase-spark connector but for data transformation using spark sql. The sparlk sql facilitates transforming the data into the destination couchbase json document structure which internally works on the DataSets. I am finding it hard to figure out how to set TTL for a couchbase document using spark sql syntax. While I am able to set document id using META.ID but the same approach not working for EXPIRATON.
Is there a way the connector authors could assist if it some practical possible solution i am looking for which i am not aware of unless its impossible.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.