Skip to content

fix(spark-anomaly-detection): Adjust Trino HTTPS connection #251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 16, 2025

Conversation

maltesander
Copy link
Member

  • updates superset-assets.zip with http_scheme: "https" in order to avoid the HTTP/HTTPs problems when using the Trino connection
ERROR: (builtins.NoneType) None
[SQL: failed to execute: ('Connection aborted.', BadStatusLine('\x15\x03\x03\x00\x02\x02P'))]
(Background on this error at: https://sqlalche.me/e/14/dbapi)

@maltesander maltesander self-assigned this Jul 16, 2025
@maltesander maltesander requested a review from razvan July 16, 2025 12:04
@Techassi Techassi changed the title Spark anomaly detection: Fix Superset Trino connection http/https issues fix(spark-anomaly-detection): Adjust Trino HTTPS connection Jul 16, 2025
@NickLarsenNZ NickLarsenNZ self-requested a review July 16, 2025 12:19
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few tidy ups

@maltesander maltesander requested a review from NickLarsenNZ July 16, 2025 12:38
Copy link
Member

@NickLarsenNZ NickLarsenNZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@maltesander maltesander enabled auto-merge (squash) July 16, 2025 12:42
@maltesander maltesander merged commit 2e5e91d into main Jul 16, 2025
2 checks passed
@maltesander maltesander deleted the spark-anomaly-detection/fix-superset-trino-https branch July 16, 2025 12:42
- pipefail
- -c
- |
curl -L -o superset-assets.zip sets.zip https://raw.githubusercontent.com/stackabletech/demos/main/demos/spark-k8s-anomaly-detection-taxi-data/superset-assets.zip
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is typo here

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you be more specific?
Is the indentation a problem? ie:

Suggested change
curl -L -o superset-assets.zip sets.zip https://raw.githubusercontent.com/stackabletech/demos/main/demos/spark-k8s-anomaly-detection-taxi-data/superset-assets.zip
curl -L -o superset-assets.zip sets.zip https://raw.githubusercontent.com/stackabletech/demos/main/demos/spark-k8s-anomaly-detection-taxi-data/superset-assets.zip

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the sets.zip is too much and it looks like a left over that breaks the curl output

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should remember to copy this zip to other demos that have one (though I'm unsure if they are all equal).

NickLarsenNZ added a commit that referenced this pull request Jul 17, 2025
* fix(demo/trino-taxi-data): Use new listener service
* fix(demo/trino-taxi-data): Use updated superset config
  - See: #251
* chore: Bump Trino worker by 2GB RAM
* fix(demo/trino-taxi-data): Disable ANALYZE step
  - See: trinodb/trino#26214
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants