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

[DE-6473] Add feature for trino-client helper rest api #95

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

vishwa05-rzp
Copy link
Contributor

@vishwa05-rzp vishwa05-rzp commented Aug 13, 2024

What is the purpose of the pull request

This PR adds the trino-rest api feature

Brief change log

  • added a directory "trino-rest" holding the changes

Relevant document links

(Please attach relevant documents)

JIRA Link

(https://razorpay.atlassian.net/browse/DE-6473)

Committer checklist

  • Have useful descriptions and titles

  • Has a corresponding JIRA in PR

  • Commit message is descriptive of the change

  • Added documentation for new or modified features or behaviors

  • For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

  • Added unit tests or modified existing tests to cover new code paths (if applicable)

  • Add some screenshots for front-end changes (if any)

@vishwa05-rzp vishwa05-rzp self-assigned this Aug 13, 2024
trino-api/Makefile Outdated Show resolved Hide resolved
trino-api/README.md Outdated Show resolved Hide resolved
trino-api/README.md Outdated Show resolved Hide resolved
trino-api/README.md Outdated Show resolved Hide resolved
trino-api/cmd/api/main.go Outdated Show resolved Hide resolved
trino-api/go.mod Outdated Show resolved Hide resolved
trino-api/go.mod Outdated Show resolved Hide resolved
trino-api/internal/app/handler/handler.go Outdated Show resolved Hide resolved
trino-api/internal/app/handler/handler_test.go Outdated Show resolved Hide resolved
trino-api/internal/app/routes/routes.go Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
trino-api/.gitignore Outdated Show resolved Hide resolved
trino-api/config/default.toml Outdated Show resolved Hide resolved
trino-api/config/default.toml Outdated Show resolved Hide resolved
}

func (client *Client) Query(query string) (*sql.Rows, error) {
return client.db.Query(query)

Check failure

Code scanning / CodeQL

Database query built from user-controlled sources High

This query depends on a
user-provided value
.
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