Skip to content

Comments

[SPARK-39773][SQL][DOCS] Update document of JDBC options for pushDownOffset#37186

Closed
beliefer wants to merge 2 commits intoapache:masterfrom
beliefer:SPARK-39773
Closed

[SPARK-39773][SQL][DOCS] Update document of JDBC options for pushDownOffset#37186
beliefer wants to merge 2 commits intoapache:masterfrom
beliefer:SPARK-39773

Conversation

@beliefer
Copy link
Contributor

What changes were proposed in this pull request?

Because the DS v2 pushdown framework added new JDBC option pushDownOffset for offset pushdown, we should update sql-data-sources-jdbc.md.

Why are the changes needed?

Add doc for pushDownOffset.

Does this PR introduce any user-facing change?

'No'. Updated for new feature.

How was this patch tested?

N/A

@github-actions github-actions bot added the DOCS label Jul 14, 2022
@beliefer
Copy link
Contributor Author

ping @huaxingao cc @cloud-fan

<td><code>pushDownOffset</code></td>
<td><code>false</code></td>
<td>
The option to enable or disable OFFSET push-down into V2 JDBC data source. The default value is false, in which case Spark will not push down OFFSET to the JDBC data source. Otherwise, if sets to true, SPARK will try to push down OFFSET to the JDBC data source. If <code>pushDownOffset</code> is true and <code>numPartitions</code> is equals to 1, OFFSET will be pushed down to the JDBC data source. Otherwise, OFFSET will not be pushed down and SPARK still applies OFFSET on the result from data source.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SPARK -> Spark

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: is equals to 1 => equals 1 or is equal to 1

@cloud-fan cloud-fan closed this in 187d43d Jul 15, 2022
@cloud-fan
Copy link
Contributor

thanks, merging to master!

@beliefer
Copy link
Contributor Author

@cloud-fan @HyukjinKwon @huaxingao Thank you !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants