Dear Wiki user, You have subscribed to a wiki page or wiki category on "Pig Wiki" for change notification.
The following page has been changed by SanthoshSrinivasan: http://wiki.apache.org/pig/PigTypesFunctionalSpec ------------------------------------------------------------------------------ [[Anchor(String_equality_and_Inequality_Comparators.)]] ==== String equality and Inequality Comparators. ==== + These include `eq` `ne` `lt` `lte` `gt` `gte` . These operators should be considered deprecated. - These include `eq` `ne` `lt` `lte` `gt` `gte` . They are only valid for use with chararray and bytearray types, and should be considered depricated. - - || || '''chararray''' || '''bytearray''' || - || '''chararray''' || uses = = , etc. function || as chararray || - || '''bytearray''' || || yes || - [[Anchor(Numeric_Inequality_Operators_Except_Notequals)]] - ==== Numeric Inequality Operators Except Notequals ==== + ==== Numeric Inequality Operators (>, >=, <, <=) Except Notequals (==, !=)==== || || '''bag''' || '''tuple''' || '''map''' || '''int''' || '''long''' || '''float''' || '''double''' || '''chararray''' || '''bytearray''' || || '''bag''' || error || error || error || error || error || error || error || error || error || || '''tuple''' || || error || error || error || error || error || error || error || error || @@ -317, +312 @@ || '''float''' || || || || || || yes || yes || error || as float || || '''double''' || || || || || || || yes || error || as double || || '''chararray''' || || || || || || || || error || error || - || '''bytearray''' || || || || || || || || || error || + || '''bytearray''' || || || || || || || || || as double || [[Anchor(Modulo)]] ==== Modulo ==== @@ -345, +340 @@ || '''float''' || || || || || || yes || yes || error || as float || || '''double''' || || || || || || || yes || error || as double || || '''chararray''' || || || || || || || || error || error || - || '''bytearray''' || || || || || || || || || error || + || '''bytearray''' || || || || || || || || || as double || [[Anchor(Concat)]] === Concat === - This is a new operator. + This is a new user defined function. A new operator concat will be added for chararrays. || || '''chararray''' || '''bytearray''' || @@ -374, +369 @@ [[Anchor(Size_)]] ==== Size ==== - This is a new operator. + This is a new user defined function. A new operator size will be added that can take the size of types. || '''bag''' || returns number of elements in bag ||
