[
https://issues.apache.org/jira/browse/SPARK-58865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-58865:
-----------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
>
> 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: [email protected]
For additional commands, e-mail: [email protected]