pig tutorial - apache pig tutorial - Pig tutorial - pig latin - apache pig - pig hadoop




Functions & user defined functions

  • Transform data in data projections
  • Built-in functions:
    • math functions, string functions, datetime functions, casting functions, etc.
  • User defined functions:
    • Our own functions written in Java, Python, Ruby, Javascript, etc.
  • Bag functions:
    • AVG/MAX/MIN/SUM: compute the average/max/min/sum of a bag of numeric values
    • learn apache pig - apache pig tutorial - pig tutorial - apache pig examples - big data - apache pig script - apache pig program - apache pig download - apache pig example  - apache bag function operation
    • COUNT: number of elements (not null) in a bag
    • learn apache pig - apache pig tutorial - pig tutorial - apache pig examples - big data - apache pig script - apache pig program - apache pig download - apache pig example  - apache bag count function operation
    • Bag/Tuple functions:
      • FLATTEN: behavior depends on input
      learn apache pig - apache pig tutorial - pig tutorial - apache pig examples - big data - apache pig script - apache pig program - apache pig download - apache pig example  - pig bag tuple flatten function
      learn apache pig - apache pig tutorial - pig tutorial - apache pig examples - big data - apache pig script - apache pig program - apache pig download - apache pig example  - pig bag tuple flatten function
      • SUBTRACT: Tuples on first bag not in the second
      learn apache pig - apache pig tutorial - pig tutorial - apache pig examples - big data - apache pig script - apache pig program - apache pig download - apache pig example  - pig bag tuple subtractfunction
      • DIFF: Non overlapping tuples on two bags
      learn apache pig - apache pig tutorial - pig tutorial - apache pig examples - big data - apache pig script - apache pig program - apache pig download - apache pig example  - pig bag tuple diff function
    • Math functions:
      • Common math functions for numeric values:
        • ABS
        • EXP
        • FLOOR
        • LOG
        • RANDOM
        • ROUND
        • SQRT
        • ...
    • String functions:
      • Transform chararrays:
        • ENDSWITH
        • LOWER
        • UPPER
        • SUBSTRING
        • TRIM
        • REPLACE
        • ...
    • Datetime functions:
      • Get information on dates and timestamps:
        • AddDuration
        • CurrentTime
        • ToDate
        • ToString
        • ToUnixTime
        • DaysBetween
        • ...

    Related Searches to Apache Pig Overview

    Adblocker detected! Please consider reading this notice.

    We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

    We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

    We need money to operate the site, and almost all of it comes from our online advertising.

    Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

    ×