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

merge trino query code changes to main #923

Merged
merged 2 commits into from
Sep 11, 2024

Conversation

nikhilsinhaparseable
Copy link
Contributor

No description provided.

if all env vars specific to Trino are set -
P_TRINO_ENDPOINT
P_TRINO_CATALOG_NAME
P_TRINO_SCHEMA
P_TRINO_USER_NAME

About API Response sample -
`
{
    "version": "v1.5.0",
    "uiVersion": "development",
    "commit": "cc8cf38",
    "deploymentId": "01J649HC5HPRNVD0VNK7Q6JMFY",
    "updateAvailable": false,
    "latestVersion": "v1.5.0",
    "llmActive": false,
    "llmProvider": null,
    "oidcActive": false,
    "license": "AGPL-3.0-only",
    "mode": "Distributed (Query)",
    "staging": "",
    "hotTier": "Disabled",
    "grpcPort": 8001,
    "store": {
        "type": "S3 bucket",
        "path": "https://s3.us-east-2.amazonaws.com/clickbenchtest"
    },
    "analytics": {
        "clarityTag": null
    },
    "queryEngine": "Trino"
}
`
if any of the above env var is missing, server will return About API response as -
`
{
    "version": "v1.5.0",
    "uiVersion": "development",
    "commit": "cc8cf38",
    "deploymentId": "01J649HC5HPRNVD0VNK7Q6JMFY",
    "updateAvailable": false,
    "latestVersion": "v1.5.0",
    "llmActive": false,
    "llmProvider": null,
    "oidcActive": false,
    "license": "AGPL-3.0-only",
    "mode": "Distributed (Query)",
    "staging": "",
    "hotTier": "Disabled",
    "grpcPort": 8001,
    "store": {
        "type": "S3 bucket",
        "path": "https://s3.us-east-2.amazonaws.com/clickbenchtest"
    },
    "analytics": {
        "clarityTag": null
    },
    "queryEngine": "Parseable"
}
`

based on the field `queryEngine` console can decide whether to user /query or /trinoquery endpoint
@nitisht nitisht merged commit b555f9b into parseablehq:main Sep 11, 2024
8 checks passed
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