Skip to content

Commit

Permalink
[COST-4807] Masu trino query readonly user (#5067)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgoodfred authored Apr 29, 2024
1 parent 506059a commit 863395f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion koku/masu/api/trino.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def trino_query(request):
LOG.info(msg)

with trino.dbapi.connect(
host=settings.TRINO_HOST, port=settings.TRINO_PORT, user="admin", catalog="hive", schema=schema_name
host=settings.TRINO_HOST, port=settings.TRINO_PORT, user="readonly", catalog="hive", schema=schema_name
) as conn:
cur = conn.cursor()
cur.execute(query)
Expand Down

0 comments on commit 863395f

Please sign in to comment.