hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-1405) Need to move many standard functions from piggybank into Pig
Date Wed, 05 May 2010 19:43:03 GMT

    [ https://issues.apache.org/jira/browse/PIG-1405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864465#action_12864465
] 

Alan Gates commented on PIG-1405:
---------------------------------

I propose the following functions get moved:

math functions:
ABS
ACOS
ASIN
ATAN
CBRT
CEIL
COS
COSH
EXP
FLOOR
LOG
LOG10
ROUND
SIN
SINH
SQRT
TAN
TANH

stats functions:
VAR

String functions
INDEXOF
LASTINDEXOF
LOWER
LcFirst -> LCFIRST
REPLACE
RegexExtract -> REGEXEXTRACT
RegexExtractAll -> REGEXEXTRACTALL
SUBSTRING
Split -> SPLIT
Trim -> TRIM
UPPER
UcFirst -> UCFIRST

Utilities:
ToBag -> TOBAG
ToTuple -> TOTUPLE

Note that in cases where the names don't match the Pig standard of builtin UDFs using all
caps I propose to change the names to match that.

> Need to move many standard functions from piggybank into Pig
> ------------------------------------------------------------
>
>                 Key: PIG-1405
>                 URL: https://issues.apache.org/jira/browse/PIG-1405
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Alan Gates
>             Fix For: 0.8.0
>
>
> There are currently a number of functions in Piggybank that represent features commonly
supported by languages and database engines.  We need to decide which of these Pig should
support as built in functions and put them in org.apache.pig.builtin.  This will also mean
adding unit tests and javadocs for some UDFs.  The existing classes will be left in Piggybank
for some time for backward compatibility.

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


Mime
View raw message