Ashhar Hasan

Results 251 comments of Ashhar Hasan

You can also try by disabling table statistics and see if it helps. (`statistics.enabled=false` in catalog config)

for reference the earlier alternative was reading from `"system"."metadata"."catalogs"`. I think for this case it's fine to let the warnings happen for versions which don't have `system.metadata.catalogs`. I don't like...

Thanks @metadaddy, I'll test locally once today and then merge. Sorry for the delays and long back and forth.

How much data are people pulling through Grafana where the spooling support is actually a need? Just curious.

can you see if the following helps: ```python create_engine(URL.create( drivername='trino' host=host_url, port=443, # I tried both passing an int or a string here. database=system, username=username, password=password, )) ``` the URL...

You're again using `catalog` and `schema`. Those are not valid URL parameters. Please see my example or the one in tests.

actually you can do `print(make_url(....))` to see the generated URL and inspect that.

drivername, not driver. Also if you did `print(trino.sqlalchemy.URL(....))` you'll see your issue. That URL string is what gets passed to driver. I am not able to reproduce unfortunately. It works...

I figured out your issue. you are passing a URL instead of hostname in `host`. Remove the `http://`. If you run my snippet with `http://localhost` in `host` you'll see the...

Doesn't look like it unfortunately. The error comes from SQLAlchemy library. We can try to do a urlparse on the `host` value and reject if there's anything except the host...