Spaces:
Runtime error
Runtime error
Commit ·
80ded9e
1
Parent(s): ec44c7f
commeting out sql parse
Browse files
app.py
CHANGED
|
@@ -83,8 +83,8 @@ def preProcessSQL(sql):
|
|
| 83 |
disclaimerOutputStripping = """Results are stripped to show only top 5 rows.
|
| 84 |
Please add your custom limit to get extend result.
|
| 85 |
eg\n select * from schema.table limit 20\n\n"""
|
| 86 |
-
sql = str(sql)
|
| 87 |
-
sql = sqlparse.format(sql, reindent=True, keyword_case='upper')
|
| 88 |
return sql, disclaimerOutputStripping
|
| 89 |
|
| 90 |
def testSQL(sql):
|
|
|
|
| 83 |
disclaimerOutputStripping = """Results are stripped to show only top 5 rows.
|
| 84 |
Please add your custom limit to get extend result.
|
| 85 |
eg\n select * from schema.table limit 20\n\n"""
|
| 86 |
+
# sql = str(sql)
|
| 87 |
+
# sql = sqlparse.format(sql, reindent=True, keyword_case='upper')
|
| 88 |
return sql, disclaimerOutputStripping
|
| 89 |
|
| 90 |
def testSQL(sql):
|