# Spanner sink connector: updatedTimestamp Not able to set

**URL:** <https://forum.confluent.io/t/spanner-sink-connector-updatedtimestamp-not-able-to-set/38071>\
**Category:** Self-Managed Connectors\
**Created:** [10 August 2025 02:58 UTC](https://forum.confluent.io/t/spanner-sink-connector-updatedtimestamp-not-able-to-set/38071 "2025-08-10T02:58:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lakshmansakhileti](https://avatars.discourse-cdn.com/v4/letter/l/f4b2a3/32.png) [@lakshmansakhileti](https://forum.confluent.io/u/lakshmansakhileti)\
**Post date:** [10 August 2025 02:58 UTC](https://forum.confluent.io/t/spanner-sink-connector-updatedtimestamp-not-able-to-set/38071/1 "2025-08-10T02:58:06Z")

</div>

Hi team,

I am using the Google Cloud Spanner Sink Connector.

My requirement is to automatically update the `updated_time_stamp` column in my Spanner table to the **commit timestamp** whenever the sink connector updates a row.

I have give my connector configuration insert.mode = upsert.

As per the Spanner documentation, this can be achieved by:  
[Commit timestamps in GoogleSQL-dialect databases | Spanner | Google Cloud](https://cloud.google.com/spanner/docs/commit-timestamp)

- Using `PENDING_COMMIT_TIMESTAMP()` in DML statements, or

- Setting the value to `Value.COMMIT_TIMESTAMP` when building mutations.

However, I do not see any configuration option in the Spanner Sink Connector that allows specifying `PENDING_COMMIT_TIMESTAMP` or `Value.COMMIT_TIMESTAMP` for a column.

Could you confirm whether this is currently supported, or suggest a recommended approach to achieve this?

Any guidance or examples would be greatly appreciated.

Thanks,  
Lakshman
