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

Dongjoon Hyun resolved SPARK-39639.
-----------------------------------
    Resolution: Invalid

> Fix possible null pointer in MySQLDialect listIndexes
> -----------------------------------------------------
>
>                 Key: SPARK-39639
>                 URL: https://issues.apache.org/jira/browse/SPARK-39639
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.4.0
>            Reporter: BingKun Pan
>            Priority: Minor
>
> h3. when:
> {quote}val indexComment = rs.getString("Index_comment") 
> {color:#172b4d}*return null*{color}
> {quote}
> h3. then:
> {quote}if (indexComment.nonEmpty) properties.put("COMMENT", indexComment) 
> {color:#172b4d}*throw NullPointerException*{color}
> {quote}
> h3. finally:
> {quote}MySQLDialect.listIndexes {color:#172b4d}return incorrect result(ingore 
> exist index).{color}
> {quote}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to