-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix(schema-compiler): fix time dimension granularity origin formatting in local timezone #9071
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
Conversation
78fa69c to
36c10a3
Compare
mcheshkov
left a comment
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.
LGTM re code changes
Changes in yarn.lock look suspicious, as if intra-repo deps have diverged, like @cubejs-backend/[email protected] in deps when we have 1.1.10 in package. But I could not find those versions in deps. Can you recreate these lockfile changes after rebase and on clean state?
|
@mcheshkov Without these changes in lockfile I got this error: error Invariant Violation: could not find a copy of @babel/parser to link in cube/node_modules/@cubejs-backend/dremio-driver/node_modules/@cubejs-backend/testing-shared/node_modules/@cubejs-backend/schema-compiler/node_modules
at invariant (~/.config/yarn/global/node_modules/yarn/lib/cli.js:2318:15)
at PackageLinker.<anonymous> (~/.config/yarn/global/node_modules/yarn/lib/cli.js:48524:7)
at Generator.next (<anonymous>)
at step (~/.config/yarn/global/node_modules/yarn/lib/cli.js:310:30)
at ~/.config/yarn/global/node_modules/yarn/lib/cli.js:321:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) |
|
@mcheshkov And if you noticed — there are some other internal references in lockfile (to pretty old versions)... |
36c10a3 to
4462be2
Compare
|
@mcheshkov Invoking |
…g in local timezone (#9071) * fix integration custom granularities tests * fix postgres drivers tests related to custom granularities * fix granularity origin formatting in local timezone * fix spelling # Conflicts: # packages/cubejs-schema-compiler/src/adapter/Granularity.ts
This PR fixes incorrect TD granularity formatting in the query timezone.
Check List