Hi spark-users,

When I use spark-sql or beeline to  query a large dataset, sometimes the
query result may cause driver OOM.

So I wonder is there a config property in spark sql to limit the max return
result size (without LIMIT clause in sql query)?

For example, before the select query, I run these in sql client:

set maxRows = 100;

And then, all queries have a  default return limit of 100.

---------------------------------
Best Regards

Reply via email to