查询数据

查询数据执行:

  1. hive> select * from new_tab;
  2. OK
  3. 0 false 0.0 ALGERIA
  4. 1 true 1.0 ARGENTINA
  5. 2 true 1.0 BRAZIL
  6. 3 true 1.0 CANADA
  7. 4 true 4.0 EGYPT
  8. 5 false 0.0 ETHIOPIA
  9. 6 true 3.0 FRANCE
  10. 7 true 3.0 GERMANY
  11. 8 true 2.0 INDIA
  12. 9 true 2.0 INDONESIA
  13. Time taken: 0.306 seconds, Fetched: 10 row(s)