When should we use SORT BY instead of ORDER BY?
Answer / Satya Nand Mishra
You should use SORT BY instead of ORDER BY in Hive when you want to sort the result in a distributed fashion, which can lead to better performance for large datasets. However, SORT BY does not return immediate results like ORDER BY and requires additional memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
What does meta-store means in hive?
Mention what is HiveServer2 (HS2)?
When to choose "Internal Table" in Hive?
What are the default record and field delimiter used for hive text files?
What is CTAS Table in Hive?
What are the different Primitive Data Types available in Hive?
How would you drop a table in Hive?
What are hive operators and its types?
What is the precedence order of hive configuration?
How to add the partition in existing table without the partition table?
Why do we perform partitioning in Hive?
What are the types of tables in 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)