GitHub user davies opened a pull request:

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

    [SPARK-14607] [SPARK-14484] [SQL] fix case-insensitive predicates in 
FileSourceStrategy

    ## What changes were proposed in this pull request?
    
    When prune the partitions or push down predicates, case-sensitivity is not 
respected. In order to make it work with case-insensitive, this PR update the 
AttributeReference inside predicate to use the name from schema.
    
    ## How was this patch tested?
    
    Add regression tests for case-insensitive.
    
    


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

    $ git pull https://github.com/davies/spark case_insensi

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

    https://github.com/apache/spark/pull/12371.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 #12371
    
----
commit ba0fbd6128a93f79865c75a5b550d14710ee9539
Author: Davies Liu <[email protected]>
Date:   2016-04-13T22:15:58Z

    fix case insensitive predicates

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to