Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get sql results over 100 in apache zeppelin?

When I execute this query in apache-zeppelin I get only 100 results with 'Results are limited by 100.' message.

%sql
SELECT ip
FROM log

So I appended 'Limit 10000' in SQL query, but it returns only 100 results again.

%sql
SELECT ip
FROM log
LIMIT 10000

So, How can I get sql results over 100 in zeppelin?

like image 358
Justin Pyo Avatar asked Jan 13 '16 04:01

Justin Pyo


1 Answers

I solved it by myself.

  1. Go Interpreter tab in Zeppelin Home.
  2. Adujust zeppelin.spark.maxResult option in spark Interpreter.
like image 159
Justin Pyo Avatar answered Oct 21 '22 00:10

Justin Pyo