How to enable the %sql Magic string
on jupyter notebook and how to use %sql magic string on a cell with the below line of code.
spark.sql('select * from test').show()
Try
%%sparksql
select * from test
Before trying install
pip install sparksql-magic