Skip to content

Conversation

@KSDaemon
Copy link
Member

@KSDaemon KSDaemon commented Jan 6, 2025

This PR fixes incorrect TD granularity formatting in the query timezone.

Check List

  • Tests have 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

@KSDaemon KSDaemon force-pushed the chore/fix-ci-tests branch from 78fa69c to 36c10a3 Compare January 6, 2025 20:29
@KSDaemon KSDaemon marked this pull request as ready for review January 6, 2025 20:56
@KSDaemon KSDaemon requested review from a team as code owners January 6, 2025 20:56
Copy link
Contributor

@mcheshkov mcheshkov left a 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?

@KSDaemon
Copy link
Member Author

KSDaemon commented Jan 7, 2025

@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)

@KSDaemon
Copy link
Member Author

KSDaemon commented Jan 7, 2025

@mcheshkov And if you noticed — there are some other internal references in lockfile (to pretty old versions)...

@KSDaemon KSDaemon force-pushed the chore/fix-ci-tests branch from 36c10a3 to 4462be2 Compare January 7, 2025 17:09
@KSDaemon
Copy link
Member Author

KSDaemon commented Jan 7, 2025

@mcheshkov Invoking yarn install in the clean repo — leads to addition of that deps into yarn.lock

@KSDaemon KSDaemon requested a review from mcheshkov January 7, 2025 17:40
@KSDaemon KSDaemon merged commit c97526f into master Jan 8, 2025
50 checks passed
@KSDaemon KSDaemon deleted the chore/fix-ci-tests branch January 8, 2025 13:23
KSDaemon added a commit that referenced this pull request Feb 6, 2025
…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
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.

3 participants