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

Add an extras field for Presto connection #3909

Closed
wants to merge 2 commits into from
Closed

Conversation

ktmud
Copy link
Contributor

@ktmud ktmud commented Jun 18, 2019

What type of PR is this? (check all applicable)

  • [x ] Feature

Description

This added a new "Extras" fields for Presto connection,
mostly for allowing self-assigned SSL certificate.

For example, services like Qubole
only allows SSL connection via self-assigned CA certificate.

Example usage is to include requests_kwargs as JSON string:

{"requests_kwargs":  {"verify": "~/qubole.cert"} }

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

@arikfr
Copy link
Member

arikfr commented Jun 18, 2019

For example, services like Qubole only allows SSL connection via self-assigned CA certificate.

Did you know that we have a Qubole query runner?

@cypress
Copy link

cypress bot commented Jun 18, 2019



Test summary

63 0 0 0


Run details

Commit 3e7b661
Started Jun 20, 2019 12:34 AM UTC
Ended Jun 20, 2019 12:42 AM UTC
Duration 08:02 💡
OS linux Debian - 8.10
Browser Electron 61.0.3163.100

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of your project's GitHub integration settings. You can manage this integration in your project's settings in the Cypress Dashboard

@ktmud
Copy link
Contributor Author

ktmud commented Jun 18, 2019

Oops, didn't see that... But can this PR be of any use for other scenarios still?

This is mostly for allowing self-assigned SSL certificate.

For example, services like [Qubole](https://docs.qubole.com/en/latest/user-guide/presto/connect-to-presto-when-ssl-enabled.html)
only allows SSL connection via self-assigned CA certificate.

The default value (placeholder) should have made it obvious
what this field is for for those who need it.
In lower version of Presto, sometimes the old query will throw
"outputFormat should not be accessed from a null StorageFormat"
error (see prestodb/presto#6972).
@ktmud ktmud closed this Jun 20, 2019
ktmud added a commit to ktmud/redash that referenced this pull request Jun 20, 2019
This makes it possible to allow arbitrary connection parameters
that are not stored as configuration field.

Also extended Dynamic Forms to allow JSON validation.
ktmud added a commit to ktmud/redash that referenced this pull request Sep 25, 2019
This makes it possible to allow arbitrary connection parameters
that are not stored as configuration field.

Also extended Dynamic Forms to allow JSON validation.
ktmud added a commit to ktmud/redash that referenced this pull request Aug 14, 2020
This makes it possible to allow arbitrary connection parameters
that are not stored as configuration field.

Also extended Dynamic Forms to allow JSON validation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants