<p>I have currently Trino deployed in my Kubernetes cluster using the official <a href="https://github.com/trinodb/charts" rel="nofollow noreferrer">Trino(trinodb) Helm Chart</a>. In the same way I deployed <a href="https://github.com/apache/superset/blob/master/helm/superset/Chart.yaml" rel="nofollow noreferrer">Apache superset</a>.</p>
<ul>
<li><p>Using port forwarding of trino to 8080 and superset to 8088, I am able to access the UI for both from localhost but also I am able to use the trino command line API to query trino using:</p>
<p>./trino --server http:localhost:8080</p>
</li>
<li><p>I don't have any authentication set</p>
</li>
<li><p>mysql is setup correctly as Trino catalog</p>
</li>
</ul>
<p>when I try to add Trino as dataset for Superset using either of the following sqlalchemy URLs:</p>
<pre><code>trino://trino@localhost:8080/mysql
trino://localhost:8080/mysql
</code></pre>
<p>When I test the connection from Superset UI, I get the following error:</p>
<blockquote>
<p>ERROR: Could not load database driver: TrinoEngineSpec</p>
</blockquote>
<p>Please advise how I could solve this issue.</p>

AR1
<p>You should install <code>sqlalchemy-trino</code> to make the trino driver available.</p>
<p>Add these lines to your <code>values.yaml</code> file:</p>
<pre class="lang-yaml prettyprint-override"><code>additionalRequirements:
  - sqlalchemy-trino

bootstrapScript: |
  #!/bin/bash
  pip install sqlalchemy-trino &amp;&amp;\
  if [ ! -f ~/bootstrap ]; then echo &quot;Running Superset with uid {{ .Values.runAsUser }}&quot; &gt; ~/bootstrap; fi
</code></pre>
<p>If you want more details about the problem, see this <a href="https://github.com/apache/superset/issues/13640" rel="nofollow noreferrer">Github issue</a>.</p>
<p>I added two options that do the same thing because in some versions the <code>additionalRequirements</code> doesn't work and you may need the <code>bootstrapScript</code> option to install the driver.</p>
