You have a file employee.txt in the hdfs directory with 100 records. You want to see only the first 10 records from the employee.txt file. How will you do this?
No Answer is Posted For this Question
Be the First to Post Answer
What is the usage of foreach operation in Pig scripts?
Is piglatin a strongly typed language? If yes, then how did you come to the conclusion?
Explain pigstorage function?
What is the use of illustrate in pig?
What problem does Apache Pig solve?
What is Pig Statistics? What are all stats classes in the Java API package available?
What are the debugging tools used for Apache Pig scripts?
What is the difference between logical and physical plans?
What is a relation in Pig?
What are the scalar data types in Pig?
Differentiate between the physical plan and logical plan in Pig script?
While writing evaluate UDF, which method has to be overridden?
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)