State the usage of 'filters', 'group' , 'orderBy', 'distinct' keywords in pig scripts?
Answer Posted / Ashish Kumar Kushwaha
Filters: FILTER keyword is used to select a subset of rows based on a condition.nGroup: GROUP BY keyword is used to divide data into groups based on one or more fields.nOrderBy: ORDER BY keyword is used to sort the result set in ascending or descending order.nDistinct: DISTINCT keyword removes duplicate rows from a relation.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers