You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2025/01/23 23:11:00 UTC
[jira] [Updated] (SPARK-50666) Support hint for reading in JDBC data source
[ https://issues.apache.org/jira/browse/SPARK-50666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun updated SPARK-50666:
----------------------------------
Summary: Support hint for reading in JDBC data source (was: DataFrameReader supporting SQL hint)
> Support hint for reading in JDBC data source
> --------------------------------------------
>
> Key: SPARK-50666
> URL: https://issues.apache.org/jira/browse/SPARK-50666
> Project: Spark
> Issue Type: Sub-task
> Components: Connect
> Affects Versions: 4.0.0
> Reporter: Shaojie Wu
> Priority: Major
> Labels: pull-request-available
>
> We're using DataFrameReader to dump data from an Oracle source, which has a huge table, and want to add hints to target generated SQL.
> Many RDBMS supports SQL hint, and it's useful for performance tuning in a data dump case.
> Can you help to improve this method?
> {code:java}
> def jdbc(
> url: String,
> table: String,
> predicates: Array[String],
> connectionProperties: Properties): DataFrame {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org