From ec7d4629e1343684d2f61afa7fa580e582905363 Mon Sep 17 00:00:00 2001 From: Octavian Ciubotaru Date: Wed, 29 Jan 2025 15:22:55 +0200 Subject: [PATCH] [KYUUBI #6905] PyHive HTTP/HTTPS dialect to use the database name from url --- python/pyhive/sqlalchemy_hive.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/pyhive/sqlalchemy_hive.py b/python/pyhive/sqlalchemy_hive.py index 355f296daed..d5777ea85de 100644 --- a/python/pyhive/sqlalchemy_hive.py +++ b/python/pyhive/sqlalchemy_hive.py @@ -421,6 +421,7 @@ def create_connect_args(self, url): "scheme": self.scheme, "username": url.username or None, "password": url.password or None, + 'database': url.database or 'default', } if url.query: kwargs.update(url.query)