Skip to content

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

Merged
maltesander merged 13 commits into
mainfrom
spark-anomaly-detection/fix-superset-trino-https
Jul 16, 2025
Merged

fix(spark-anomaly-detection): Adjust Trino HTTPS connection#251
maltesander merged 13 commits into
mainfrom
spark-anomaly-detection/fix-superset-trino-https

Conversation

@maltesander

Copy link
Copy Markdown
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
Comment thread demos/spark-k8s-anomaly-detection-taxi-data/setup-superset.yaml Outdated

@NickLarsenNZ NickLarsenNZ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A few tidy ups

Comment thread demos/spark-k8s-anomaly-detection-taxi-data/setup-superset.yaml Outdated
@maltesander
maltesander requested a review from NickLarsenNZ July 16, 2025 12:38

@NickLarsenNZ NickLarsenNZ left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
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