Skip to content
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

Multiline string using $REDSHIFT$ token is not supported #76

Open
crisptrutski opened this issue Jun 25, 2024 · 1 comment
Open

Multiline string using $REDSHIFT$ token is not supported #76

crisptrutski opened this issue Jun 25, 2024 · 1 comment
Labels
bug Something isn't working .Team/BackendComponents

Comments

@crisptrutski
Copy link
Collaborator

crisptrutski commented Jun 25, 2024

Example query:

select *
from dblink('hosting_insights',$REDSHIFT$
    SELECT distinct hm_user.company
    FROM metabase_database
    LEFT JOIN hm_hosted_instance
      ON metabase_database.etl_source_instance_id = hm_hosted_instance.id
    LEFT JOIN hm_user
      ON hm_hosted_instance.owner_id = hm_user.id
    WHERE metabase_database.is_sample = FALSE
$REDSHIFT$) as t1(customer text)

Interestingly enough, this is a :postgres query on Stats...

Queries affected on Stas: 93

@crisptrutski
Copy link
Collaborator Author

We're not working on this right now, as the feature is less likely to be used by our customers relative to its use in our own server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working .Team/BackendComponents
Projects
None yet
Development

No branches or pull requests

1 participant