Skip to content

Conversation

@akolov
Copy link
Contributor

@akolov akolov commented Mar 3, 2025

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

Issue Reference this PR resolves

[For example #12]

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

[Description goes here]

mcheshkov and others added 30 commits February 4, 2025 15:18
* Update deprecations

* Update examples

* Revert "Update deprecations"

This reverts commit 1f3f6008eae69eda521ec4a06e54fafe7a9947d5.

* Fixes

* Fix
…flag) (#9188)

* move js transpilation to worker threads

* hide worker threads transpile under the flag

* add useful comment

* tune Push CI to test with CUBEJS_WORKER_THREADS_TRANSPILATION=true

* add workerpool pkg

* use workerpool pkg

* add max workers cfg

* update env in ci

* remove obsolete stuff
* Correct dremio date interval functions

* Dremio date interval functions - support for year, month, qtr and day only

* Removing space and block row padding - lint failing

* Adding support for hrs, mins, seconds. Additionally, timestamp formatting corrections

* fix package deps versions

---------

Co-authored-by: wardsi <simon@wardandpartners.co.za>
…arities don't hit pre-aggregations with allow_non_strict_date_range_match=true (#9102)

* code polish (spaces + correct test name)

* fix(schema-compiler): Fix queries with time dimensions without granularities don't hit pre-aggregations with allow_non_strict_date_range_match=true

* export some functions from backend-shared/time

* implement granularity.isAlignedWithDateRange(...)

* remove unused/unneeded

* fix/implement pre-agg matching

* fix test for pre-agg with allowNonStrictDateRangeMatch: true

* test for custom granularity match

* fix isAlignedWithDateRange for DSTs

* fix test

* cached granularityHierarchies() for query timezone
…d update default concurrency settings for drivers (#9168)

* add CUBEJS_SCHEDULED_REFRESH_QUERIES_PER_APP_ID

and deprecate CUBEJS_SCHEDULED_REFRESH_CONCURRENCY

* increase DefaultConcurrency settings for drivers

* use refreshWorkerConcurrency only for refresh workers

* correct warn flow for refreshConcurrency

* correct queueOptionsWrapper flow

* fix unit tests

* add tests for CUBEJS_REFRESH_WORKER_CONCURRENCY
Allow to flatten projection node into internal WrappedSelect. This should allow to execute plans like Projection(Filter(...)) as a single ungrouped wrapper with push-to-Cube
* Move SQL API reference

* Move REST API reference

* Move GraphQL API reference

* Move AI API reference

* Move CLI command reference

* Move JavaScript SDK reference
* add test_select_distinct_dimensions

* started doing transforming_rewrite → "select-distinct-dimensions"

* fix tests

* wip: implement self.select_distinct_dimensions()

* fix tests

* some improvements

* implement select_distinct_dimensions

* adding tests

* refactor a bit

* improve select_distinct_dimensions()

* more tests

* more cases covered in select_distinct_dimensions

* improve

* some improvements
mcheshkov and others added 28 commits February 25, 2025 01:39
…t (#9155)

Without this two different representations can have zero members, different push-to-Cube and same cost.
It could be done in a single cost component, like zero_members_wrapper, but would require to have a complex dispatch instead of add_child
Added a comment just to trigger a rebuild
This is to avoid expression like SUM(NULL), which are ambiguous in PostgreSQL
* Update pricing.mdx

adding AI pricing

* Update pricing.mdx

* Update pricing.mdx

* Update pricing.mdx

adding correct reference for enterprise+

* Update pricing.mdx

* Update pricing.mdx
ARM64 runners are in public preview, but It's ready for our use case.
This fixes an issue with just-released Node.js 22.14.0. It has N-API version '10', and it broke version comparison inside `prebuild-install` for `sqlite3`.
See this fix in `napi-build-utils`:
inspiredware/napi-build-utils#7
api-gateway calls getSqlGenerator with empty query and concrete data source to initialize SQL API
But because query is empty `sqlGenerator.dataSource` can be undefined, and it would trigger re-creating query with new data source, which would be `default`
In Python, *args and **kwargs allow functions to accept an arbitrary number of arguments. Kwarg should be passed separately when you are calling a function. It's a separate structure.

Python example:

@template.function
def arg_named_arguments(arg1, arg2):
    return "arg1: " + arg1 + ", arg2: " + arg2

Jinja example:

arg_named_arguments1: {{ arg_named_arguments(arg2="2 arg", arg1="1 arg") }}
arg_named_arguments2: {{ arg_named_arguments(arg1="1 arg", arg2="2 arg") }}

Expected output:

arg_named_arguments1: "arg1: 1 arg, arg2: 2 arg"
arg_named_arguments2: "arg1: 1 arg, arg2: 2 arg"
Signed-off-by: Alex Qyoun-ae <4062971+MazterQyou@users.noreply.github.com>
… separate files (#9274)

* some typos and refactoring

* rafactor CacheKey type def

* typo

* refactor imports in time.ts

* just typo

* remove unused: redisPrefix from PreAggregationLoadCache class

* remove unused: redisPrefix from PreAggregationLoader & PreAggregationPartitionRangeLoader

* refactor PreAggregations: move every class to a separate file

* refactor PreAggregations: delete moved

* code reformat

* better naming in utcToLocalTimeZone()

* code polishment in PreAggregationLoadCache class

* a bit of code polishment in PreAggregationLoader class

* attempt to fix CacheKey type
* docs: update AI API models and providers

* reverts formatting

* spaces

* newline

---------

Co-authored-by: Michael Irvine <michaelirvine@Michaels-MacBook-Pro.local>
* feat(server-core): add fastReloadEnabled option to CompilerApi

* Update packages/cubejs-server-core/src/core/server.ts

Co-authored-by: Konstantin Burkalev <KSDaemon@gmail.com>

---------

Co-authored-by: Konstantin Burkalev <KSDaemon@gmail.com>
…ry for Angular (#9189)

* chore(cubejs-client-ngx): update npm version badge in README

* chore(cubejs-client-ngx): update .gitignore to include .angular directory

* fix(cubejs-client-ngx): update package.json to include publishConfig and lerna command settings
@akolov akolov merged commit 9941aa1 into master Mar 3, 2025
@akolov akolov deleted the alex/merging branch March 5, 2025 11:06
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.