jiwen624 commented on code in PR #56558:
URL: https://github.com/apache/spark/pull/56558#discussion_r4521835339
##########
sql/core/src/main/scala/org/apache/spark/sql/jdbc/JdbcDialects.scala:
##########
@@ -429,9 +429,38 @@ abstract class JdbcDialect extends Serializable with
Logging {
"funcName" -> e.name()))
}
inputToSQL(e.children()(0))
+ case e: GeneralScalarExpression if isLikeStringPredicate(e.name()) =>
+ buildLikeStringPredicate(e).getOrElse(visitUnexpectedExpr(e))
Review Comment:
This is the follow-up listed in "Not changed here" in the PR desc. Raised
https://issues.apache.org/jira/browse/SPARK-61341 to track it instead of a TODO
- FYI. @uros-b @urosstan-db I can work on that one once this PR is settled.
--
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]