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

feat: sql api over http #8254

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

feat: sql api over http #8254

wants to merge 37 commits into from

Conversation

vasilev-alex
Copy link
Member

Check List

  • Tests has been run in packages where changes made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

Issue Reference this PR resolves

[For example #12]

Description of Changes Made (if issue reference is not provided)

[Description goes here]

Copy link

vercel bot commented May 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

8 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-angular-dashboard ⬜️ Ignored (Inspect) Visit Preview May 29, 2024 9:25am
examples-react-d3 ⬜️ Ignored (Inspect) Visit Preview May 29, 2024 9:25am
examples-react-dashboard ⬜️ Ignored (Inspect) Visit Preview May 29, 2024 9:25am
examples-react-data-table ⬜️ Ignored (Inspect) Visit Preview May 29, 2024 9:25am
examples-react-highcharts ⬜️ Ignored (Inspect) Visit Preview May 29, 2024 9:25am
examples-react-material-ui ⬜️ Ignored (Inspect) Visit Preview May 29, 2024 9:25am
examples-react-pivot-table ⬜️ Ignored (Inspect) Visit Preview May 29, 2024 9:25am
examples-vue-query-builder ⬜️ Ignored (Inspect) Visit Preview May 29, 2024 9:25am

packages/cubejs-api-gateway/src/gateway.ts Dismissed Show dismissed Hide dismissed
@vasilev-alex vasilev-alex marked this pull request as ready for review May 22, 2024 20:57
@vasilev-alex vasilev-alex requested review from a team as code owners May 22, 2024 20:57
packages/cubejs-testing/test/smoke-cubesql.test.ts Dismissed Show dismissed Hide dismissed
packages/cubejs-testing/test/smoke-cubesql.test.ts Dismissed Show dismissed Hide dismissed
);

insta::assert_snapshot!(
"TableValue serializer",
Copy link
Member

Choose a reason for hiding this comment

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

lowercase + no space, please!

try {
await server.execSql(req.body.query, res, req.context?.securityContext);
} catch (error: any) {
res.status(500).end(JSON.stringify(error));
Copy link
Member

Choose a reason for hiding this comment

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

It's better to use this.handleError because some types of errors can confidential details

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.

None yet

2 participants