blob: f3ffff425e2678d5f778338cea38309fe0e8f1c8 [file] [log] [blame]
(window.webpackJsonp=window.webpackJsonp||[]).push([[48],{LV53:function(e,t,n){"use strict";n.r(t),n.d(t,"_frontmatter",(function(){return i})),n.d(t,"default",(function(){return p}));var o=n("k1TG"),r=n("8o2o"),a=(n("q1tI"),n("7ljp")),c=n("hhGP"),i=(n("qKvR"),{});void 0!==i&&i&&i===Object(i)&&Object.isExtensible(i)&&!i.hasOwnProperty("__filemeta")&&Object.defineProperty(i,"__filemeta",{configurable:!0,value:{name:"_frontmatter",filename:"src/pages/docs/Connecting to Databases/trino.mdx"}});var b={_frontmatter:i},s=c.a;function p(e){var t=e.components,n=Object(r.a)(e,["components"]);return Object(a.b)(s,Object(o.a)({},b,n,{components:t,mdxType:"MDXLayout"}),Object(a.b)("h2",{id:"trino"},"Trino"),Object(a.b)("p",null,"Supported trino version 352 and higher"),Object(a.b)("p",null,"The ",Object(a.b)("a",Object(o.a)({parentName:"p"},{href:"https://pypi.org/project/sqlalchemy-trino/"}),"sqlalchemy-trino")," library is the recommended way to connect to Trino through SQLAlchemy."),Object(a.b)("p",null,"The expected connection string is formatted as follows:"),Object(a.b)("pre",null,Object(a.b)("code",Object(o.a)({parentName:"pre"},{}),"trino://{username}:{password}@{hostname}:{port}/{catalog}\n")),Object(a.b)("p",null,"If you are running trino with docker on local machine please use the following connection URL"),Object(a.b)("pre",null,Object(a.b)("code",Object(o.a)({parentName:"pre"},{}),"trino://trino@host.docker.internal:8080\n")),Object(a.b)("p",null,"Reference:\n",Object(a.b)("a",Object(o.a)({parentName:"p"},{href:"https://trino.io/episodes/12.html"}),"Trino-Superset-Podcast")))}void 0!==p&&p&&p===Object(p)&&Object.isExtensible(p)&&!p.hasOwnProperty("__filemeta")&&Object.defineProperty(p,"__filemeta",{configurable:!0,value:{name:"MDXContent",filename:"src/pages/docs/Connecting to Databases/trino.mdx"}}),p.isMDXComponent=!0}}]);
//# sourceMappingURL=component---src-pages-docs-connecting-to-databases-trino-mdx-ad4b78d99d31f88c8282.js.map