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
Refer: https://github.com/cryeo/sparksql-magic
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With