You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2026/08/20 07:03:00 UTC

[jira] [Resolved] (SPARK-58865) Include an example in the JDBC hint option validation error message

     [ https://issues.apache.org/jira/browse/SPARK-58865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-58865.
----------------------------------
    Fix Version/s: 4.4.0
       Resolution: Fixed

Issue resolved by pull request 58114
[https://github.com/apache/spark/pull/58114]

> Include an example in the JDBC hint option validation error message
> -------------------------------------------------------------------
>
>                 Key: SPARK-58865
>                 URL: https://issues.apache.org/jira/browse/SPARK-58865
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 4.3.0
>            Reporter: Ganesha S
>            Assignee: Ganesha S
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.4.0
>
>
> The JDBC hint option must be wrapped as /*+ ... */. When the value fails this check, the error describes the required delimiters in words only:
> Invalid value `<value>` for option `hint`. It should start with `/*+ ` and end with ` */`.
> The required leading/trailing spaces inside /*+  and  */ are easy to miss, and a prose description is slower to act on than a worked example.
> Proposed: add an example to the message:
> {code:java}
> Invalid value `<value>` for option `hint`.{code}
>  
> It should start with `/*+ ` and end with ` */`, for example `/*+ INDEX(t1 id_idx) */`.
> Validation behavior is unchanged; only the error text is improved.



--
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