ploomber / jupysql

Better SQL in Jupyter. 📊
https://jupysql.ploomber.io
Apache License 2.0
723 stars 76 forks source link

1011 Disable full stack trace when using spark connect #1024

Open b1ackout opened 2 months ago

b1ackout commented 2 months ago

Describe your changes

  1. Updated is_non_sqlalchemy_error to handle pyspark.sql.utils.AnalysisException, thus when short_errors is enabled to show only the spark sql error and not the full stack trace

Issue number

Closes #1011

Checklist before requesting a review


📚 Documentation preview 📚: https://jupysql--1024.org.readthedocs.build/en/1024/