Saved Bookmarks
| 1. |
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? |
|
Answer» The first STEP would be to LOAD the FILE employee.txt into with the relation name as Employee. The first 10 RECORDS of the employee data can be obtained using the limit operator - RESULT= limit employee 10. The first step would be to load the file employee.txt into with the relation name as Employee. The first 10 records of the employee data can be obtained using the limit operator - Result= limit employee 10. |
|