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(cubesql): Send expressions as objects #8216

Merged
merged 6 commits into from
May 15, 2024

Conversation

waralexrom
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]

@waralexrom waralexrom changed the base branch from master to cubesql/in-subquery-rewrite-empty-source May 1, 2024 17:13
Copy link

vercel bot commented May 6, 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 14, 2024 7:59pm
examples-react-d3 ⬜️ Ignored (Inspect) Visit Preview May 14, 2024 7:59pm
examples-react-dashboard ⬜️ Ignored (Inspect) Visit Preview May 14, 2024 7:59pm
examples-react-data-table ⬜️ Ignored (Inspect) Visit Preview May 14, 2024 7:59pm
examples-react-highcharts ⬜️ Ignored (Inspect) Visit Preview May 14, 2024 7:59pm
examples-react-material-ui ⬜️ Ignored (Inspect) Visit Preview May 14, 2024 7:59pm
examples-react-pivot-table ⬜️ Ignored (Inspect) Visit Preview May 14, 2024 7:59pm
examples-vue-query-builder ⬜️ Ignored (Inspect) Visit Preview May 14, 2024 7:59pm

@waralexrom waralexrom marked this pull request as ready for review May 6, 2024 11:30
@waralexrom waralexrom requested review from a team as code owners May 6, 2024 11:30
if (match) {
const args = match[3].split(',');
args.push(`return \`${match[4]}\``);
try {
Copy link
Member

Choose a reason for hiding this comment

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

I still feel that this large try block can catch something unrelated to JSON.parse, but this may be irrelevant if we consider that any failure must return memberExpression as is.

@waralexrom waralexrom force-pushed the cubesql/in-subquery-rewrite-empty-source branch from e35c837 to 4c97f75 Compare May 9, 2024 19:45
@waralexrom waralexrom requested a review from a team as a code owner May 9, 2024 19:45
Base automatically changed from cubesql/in-subquery-rewrite-empty-source to master May 14, 2024 15:24
@waralexrom waralexrom force-pushed the cubesql/expressions-as-objects branch from 6b68ed2 to ccf5e6c Compare May 14, 2024 19:58
@waralexrom waralexrom merged commit 4deee84 into master May 15, 2024
76 checks passed
@waralexrom waralexrom deleted the cubesql/expressions-as-objects branch May 15, 2024 18:50
@waralexrom waralexrom restored the cubesql/expressions-as-objects branch May 21, 2024 22:25
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

3 participants