You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/07/16 12:59:11 UTC

[GitHub] [spark] maropu edited a comment on issue #25001: [SPARK-28083][SQL] Support LIKE ... ESCAPE syntax

maropu edited a comment on issue #25001: [SPARK-28083][SQL] Support LIKE ... ESCAPE syntax
URL: https://github.com/apache/spark/pull/25001#issuecomment-511803526
 
 
   Also, could you check the query below? Then, plz add some tests in `SQLQueryTestSuite`.
   
   ```
   scala> sql("""select * from t8 where a like b escape '"' """).show
   org.apache.spark.sql.catalyst.parser.ParseException:
   Invalid escape string.Escape string must be empty or one character.(line 1, pos 25)
   
   == SQL ==
   select * from t8 where a like b escape '"'
   -------------------------^^^
   ```
   
   ```
   postgres=# select * from t8 where a like b escape '"';
    a | b 
   ---+---
   (0 rows)
   
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org