We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33a80e4 commit a0a23e4Copy full SHA for a0a23e4
data/notebooks/Import_Table_ACLs.py
@@ -190,6 +190,12 @@ def execute_sql_statements(sqls):
190
l = [ str(o) for o in error_causing_sqls ]
191
print("\n".join(l))
192
193
+# COMMAND ----------
194
+
195
+# DBTITLE 1,Nicer error output
196
+if len(error_causing_sqls) != 0:
197
+ l = [ {'sql': str(o.get('sql')), 'error': str(o.get('error'))} for o in error_causing_sqls ]
198
+ display(spark.createDataFrame(l))
199
200
# COMMAND ----------
201
0 commit comments