Github user JamesRTaylor commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/34#discussion_r23668433
  
    --- Diff: 
phoenix-core/src/main/java/org/apache/phoenix/parse/ColumnParseNode.java ---
    @@ -40,6 +41,13 @@ public ColumnParseNode(TableName tableName, String name, 
String alias) {
             this.tableName = tableName;
             fullName = tableName == null ? getName() : tableName.toString() + 
QueryConstants.NAME_SEPARATOR + getName();
         }
    +    
    +    public ColumnParseNode(TableName tableName, String name, String alias, 
boolean caseSensitive) {
    --- End diff --
    
    We should be able to store the expressionStr for a functional index in a 
case sensitive manner. You'll get this for free when you parse and compile the 
functional expression. If a referenced column is not surrounded with double 
quotes, then it'll be upper cased, otherwise it won't. Then the equality check 
will always be a straight equals check.


---
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.
---

Reply via email to