State the usage of 'filters', 'group' , 'orderBy', 'distinct' keywords in pig scripts?
Answer / 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 |
What are the Optimizations a developer can use during joins?
What are the use cases of Apache Pig?
What are the different UDF’s in Pig?
List the relational operators in pig.
What are the Data types in Pig?
What are the components of Pig Execution Environment?
What are the components of Apache Pig platform?
What is the relationship between hdfs, hbase, pig, hive and azkaban?
What is the use of having Filters in Apache Pig ?
Explain bloom?
How can we see only top 15 records from the student.txt out of100 records in the HDFS directory?
What are the commonalities between pig and hive?
Apache Hadoop (394)
MapReduce (354)
Apache Hive (345)
Apache Pig (225)
Apache Spark (991)
Apache HBase (164)
Apache Flume (95)
Apache Impala (72)
Apache Cassandra (392)
Apache Mahout (35)
Apache Sqoop (82)
Apache ZooKeeper (65)
Apache Ambari (93)
Apache HCatalog (34)
Apache HDFS Hadoop Distributed File System (214)
Apache Kafka (189)
Apache Avro (26)
Apache Presto (15)
Apache Tajo (26)
Hadoop General (407)