HyukjinKwon commented on a change in pull request #34027:
URL: https://github.com/apache/spark/pull/34027#discussion_r710676234
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/Column.scala
##########
@@ -846,6 +846,17 @@ class Column(val expr: Expression) extends Logging {
*/
def rlike(literal: String): Column = withExpr { RLike(expr,
lit(literal).expr) }
+ /**
+ * SQL ILIKE expression (case insensitive LIKE).
+ *
+ * @group expr_ops
+ * @since 3.3.0
+ */
+ def ilike(literal: String, escapeChar: Char = '\\'): Column = withExpr {
Review comment:
Let's forget about `escapeChar` for now. I don't think it's used pretty
often, and it's not exposed in `like` above too.
--
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]