[
https://issues.apache.org/jira/browse/SPARK-50666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17908137#comment-17908137
]
Yuming Wang commented on SPARK-50666:
-------------------------------------
Could you give an example?
> DataFrameReader supporting SQL hint
> -----------------------------------
>
> Key: SPARK-50666
> URL: https://issues.apache.org/jira/browse/SPARK-50666
> Project: Spark
> Issue Type: Improvement
> Components: Connect
> Affects Versions: 3.5.4
> Reporter: Shaojie Wu
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]