Skip to content
This repository was archived by the owner on May 5, 2022. It is now read-only.

Commit f49bd4e

Browse files
authored
Merge pull request #14 from aakashnand/change-catalog
Change default catalog from hive to `system`
2 parents b8e9aff + 2b6b4fb commit f49bd4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlalchemy_trino/dialect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def dbapi(cls):
7575
def create_connect_args(self, url: URL) -> Tuple[List[Any], Dict[str, Any]]:
7676
args, kwargs = super(TrinoDialect, self).create_connect_args(url) # type: List[Any], Dict[str, Any]
7777

78-
db_parts = kwargs.pop('database', 'hive').split('/')
78+
db_parts = kwargs.pop('database', 'system').split('/')
7979
if len(db_parts) == 1:
8080
kwargs['catalog'] = db_parts[0]
8181
elif len(db_parts) == 2:

0 commit comments

Comments
 (0)