In Hive, if we call limit clause it will give faster response. Same thing if we run in Spark SQL it is taking more time. Could you please explain in depth.
In Hive