chore(OAuth2): refactor for custom OAuth2 clients (#27880)

This commit is contained in:
Beto Dealmeida
2024-04-05 12:17:39 -04:00
committed by GitHub
parent 62433c14a7
commit 9377227e06
22 changed files with 385 additions and 297 deletions

View File

@@ -73,7 +73,7 @@ class PrestoDBSQLValidator(BaseSQLValidator):
from pyhive.exc import DatabaseError
try:
db_engine_spec.execute(cursor, sql, database.id)
db_engine_spec.execute(cursor, sql, database)
polled = cursor.poll()
while polled:
logger.info("polling presto for validation progress")