Comments (3)
+1 on this. It would be even better if we can pass in arbitrary headers. For our use case, the Host
header is needed.
from sqlalchemy-trino.
Hello @matt12eagles, @mapshen
Did you try:
engine = create_engine(...,
connect_args=dict(
http_headers={
'X-Presto-Extra-Credential': f"access-token={ACCESS_TOKEN}"
},
)
)
``
from sqlalchemy-trino.
@dungdm93 I can confirm this setting does take effect - is there a doc on the args users can pass into connect_args
?
from sqlalchemy-trino.
Related Issues (20)
- Change default catalog from hive to system HOT 1
- Superset trino iceberg use case "ValueError: too many values to unpack (expected 2)" HOT 3
- cannot import name 'ResultProxy' from 'sqlalchemy.engine.result' HOT 4
- Pinot table metadata via Trino not found in Superset HOT 1
- Is it possible set ssl settings? HOT 2
- Difference between Presto and Trino HOT 2
- Unable to run query if Trino returns the metadata after the first call HOT 2
- Exception: Cursor must be loaded before call TrinoResultMetaData HOT 3
- Support connection parameter "sessionUser" HOT 1
- Supports JWT authentication
- It requires specifying port number `443` when authenticating via username/password HOT 1
- support df.to_sql() HOT 3
- support `df.to_sql(catalog=name ...)` HOT 2
- TypeError: list indices must be integers or slices, not IsolationLevel HOT 2
- engine execute failed with kerberos auth HOT 1
- TrinoDialect should set if it supports statement cache
- Use "SHOW CREATE TABLE" for more accurate reflection with Trino connectors
- Unable to connect Trino coordinator with SSL/LDAP HOT 1
- Possible package deprecation given the official Trino Python DB API client supports SQLAlchemy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sqlalchemy-trino.