-
Notifications
You must be signed in to change notification settings - Fork 116
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
Enable caching of data for hosted data cube #3862
Conversation
🦋 Changeset detectedLatest commit: d295f81 The changes in this PR will be included in the next version bump. This PR includes changesets to release 32 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
a67455a
to
df30589
Compare
Old PR: #3860 |
packages/legend-application-data-cube/src/stores/LegendDataCubeCacheManager.ts
Show resolved
Hide resolved
guaranteeType( | ||
x, | ||
V1_SQLExecutionNode, | ||
`Can't generate sql for the query`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`Can't generate sql for the query`, | |
`Can't generate SQL for the query`, |
) | ||
.at(-1)?.sqlQuery; | ||
} | ||
assertNonNullable(sql, `Can't generate sql for the query`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assertNonNullable(sql, `Can't generate sql for the query`); | |
assertNonNullable(sql, `Can't generate SQL for the query`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can merge this with line 427 using guaranteeNonNullable
, doing something similar to line 458
Summary
How did you test this change?