GitHub user sarutak opened a pull request:

    https://github.com/apache/spark/pull/2908

    [SPARK-4061] We cannot use EOL character in the operand of LIKE predicate.

    We cannot use EOL character like \n or \r in the operand of LIKE predicate.
    So following condition is never true.
    
        -- someStr is 'hoge\nfuga'
        where someStr LIKE 'hoge_fuga'
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sarutak/spark 
spark-sql-like-match-modification

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/2908.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2908
    
----
commit 38f66519ae95ec5d41705fc7777499e2cd658de4
Author: Kousuke Saruta <saru...@oss.nttdata.co.jp>
Date:   2014-10-23T10:07:14Z

    Fixed LIKE predicate so that we can use EOL character as in a operand

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to