---
title: commit (SimpleDataSourceStreamReader)
description: "SimpleDataSourceStreamReader.commit method in PySpark: Informs the source that Spark has completed processing all data for offsets less than or equal to end and will only request offsets greater than end in the future."
canonical_url: https://docs.databricks.com/gcp/en/pyspark/reference/classes/simpledatasourcestreamreader/commit
---

# commit (SimpleDataSourceStreamReader)

Informs the source that Spark has completed processing all data for offsets less than or equal to `end` and will only request offsets greater than `end` in the future.

*Added in Databricks Runtime 15.3*

## Syntax

```
commit(end: dict)
```

## Parameters

| Parameter | Type | Description                                                               |
| --------- | ---- | ------------------------------------------------------------------------- |
| `end`     | dict | The latest offset that the streaming query has processed for this source. |
