huaxingao commented on code in PR #37031:
URL: https://github.com/apache/spark/pull/37031#discussion_r912501587
##########
sql/core/src/main/scala/org/apache/spark/sql/jdbc/MySQLDialect.scala:
##########
@@ -217,7 +219,7 @@ private case object MySQLDialect extends JdbcDialect with
SQLConfHelper {
// The only property we are building here is `COMMENT` because
it's the only one
// we can get from `SHOW INDEXES`.
val properties = new util.Properties();
- if (indexComment.nonEmpty) properties.put("COMMENT", indexComment)
Review Comment:
> maybe we need add some UT for it
Sounds good to me. I will take a look at the new PR.
> Whether it is necessary to implement createIndex & existIndex & dropIndex
& listIndex in H2Dialect ?
It's OK to implement these.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]