You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2008/06/12 00:18:45 UTC

[jira] Created: (PIG-265) Make all functions in pig case insesitive.

Make all functions in pig case insesitive.
------------------------------------------

                 Key: PIG-265
                 URL: https://issues.apache.org/jira/browse/PIG-265
             Project: Pig
          Issue Type: Improvement
            Reporter: Olga Natkovich


I should be able to say COUNT, Count, or count in my script.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIG-265) Make all functions in pig case insesitive.

Posted by "Pi Song (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604791#action_12604791 ] 

Pi Song commented on PIG-265:
-----------------------------

>From my observation currently:-
- All keywords are case-insensitive
- All names are case-sensitive

> Make all functions in pig case insesitive.
> ------------------------------------------
>
>                 Key: PIG-265
>                 URL: https://issues.apache.org/jira/browse/PIG-265
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>
> I should be able to say COUNT, Count, or count in my script.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIG-265) Make all functions in pig case insesitive.

Posted by "Pi Song (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604499#action_12604499 ] 

Pi Song commented on PIG-265:
-----------------------------

This is reasonable for built-in functions.

How about UDFs? Normally they also include package names. Do we want to make this case-insensitive as well?

> Make all functions in pig case insesitive.
> ------------------------------------------
>
>                 Key: PIG-265
>                 URL: https://issues.apache.org/jira/browse/PIG-265
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>
> I should be able to say COUNT, Count, or count in my script.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIG-265) Make all functions in pig case insesitive.

Posted by "Benjamin Reed (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604518#action_12604518 ] 

Benjamin Reed commented on PIG-265:
-----------------------------------

-1 it would be very hard to make UDFs case insensitive unless we require every UDF to be defined before it is used. (Java classes are case sensitive so case insensitive lookups could be very inefficient.) Making builtins case insensitive and others not would be even more confusing. (Personally I would rather go the other way and make everything case sensitive. It's much more consistent with most popular languages and it makes the scripts more consistent.)

> Make all functions in pig case insesitive.
> ------------------------------------------
>
>                 Key: PIG-265
>                 URL: https://issues.apache.org/jira/browse/PIG-265
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Olga Natkovich
>
> I should be able to say COUNT, Count, or count in my script.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.