forked from cube-js/cube
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update from cubejs #3
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Seems like this doc has not been updated since we released views. I updated all of the commentary to include mention of views based on my own testing. Additionally, I added a note that anything with public: false is not returned in the results. I think this is weird behavior because in my tests I see a parameter for isVisible and a parameter for public. The existence of those parameters makes me think it should return private cubes and views so that sometimes public can say no, but since that's not what's happening, and since I don't know the difference between isVisible and public, I didn't add them to this PR, I just noted that public: false will make them omitted.
* docs: Audit Log * Pricing and limits * Add more event types * Update limits * . * Fix * Revert "Fix" This reverts commit aff4b8b. * Add video
…nc`'d column in outer query
This versions includes fix for MaterializeInc/rust-sasl#51, which includes unreleased patch for vendored version of cyrus-sasl
* Add .editorconfig for DX convenience * feat(cubejs-databricks-jdbc-driver): set readonly mode if no exportBicket options provided * chore(cubejs-databricks-jdbc-driver): polish driver interfaces/implementation * Update docs * docs(jdbc-driver): update driver installation on macos --------- Co-authored-by: Igor Lukanin <[email protected]>
BREAKING CHANGE: It was not usefull, at the same time this TERM requires a lot of libraries to be installed. It costs 148 MB of additional disk space.
* remove unneeded filter for granularities * dedup month in standardGranularitiesParents * feat(schema-compiler): update cube's schema to allow granularities for time dimensions * fix custom granularity processing in time dimension * update yaml schema compiler to process custom granularities * Add custom granularities support to time dimension and base query * feat(schema-compiler): update cube's schema to allow granularities for time dimensions (simple syntax) * Add custom granularities simple syntax support to the time dimension and base query * Rename baseGranularity → rollupGranularity * fix schema validation * fix custom granularity processing in BaseTimeDimension * Moved custom granularity processing from time dimension to base query * Revert: deep evaluateSymbolSql processing * Implement dimensionTimeGroupedColumn for Snowflake * Implement dimensionTimeGroupedColumn for MySQL * Add custom granularity time intervals generation (used in rollups) * Rewrite parseSqlInterval from regex to split * Add tests for timeSeriesFromCustomInterval * Add tests for yaml schema compiler * Add tests for cube validator * Fix overTimeSeriesQuery with custom granularities * Add tests for sql query generation for queries with custom granularities * return back deleted test * Remove comment, add types * update cube validation scheme: remove sql, add origin * add tests for cube validator * add another test for yaml schema compiler * move isGranularityNaturalAligned() to utils to be reused * Add Granularity entity and move all related processing there also implement date_bin for postgres * temporary comment out dimensionTimeGroupedColumn * Fix timeSeriesFromCustomInterval generation * Fix tests timeSeriesFromCustomInterval * Add more tests for timeSeriesFromCustomInterval * Fix Granularity constructor * Add integration tests for Custom Granularities for PostgreSQL * Fix Custom Granularities tests in CI (needs order by) * Implement date_bin for Snowflake * Move BaseDbRunner from postgres to separate folder * fix customGranularity.origin init * implement dateBin in MySQL * fix interval math ops in MySQL * fix postgres custom granularities tests * Add tests for custom granularities in MySQL * move granularityFromIntervalString from BaseQuery → Granularity * fix granularityFromIntervalString * improve addInterval / subtractInterval in MS SQL Query (now supports intervals with >1 time units) * Implement dateBin for MS SQL * Add tests for custom granularities in MS SQL * fix 2 granularities test (actually revert the bad changes back) * add comment for dateBin in postgresql query * Implement dateBin for Databricks * Implement dateBin for DuckDB * implement dateBin for BigQuery * extend testing fixtures with custom granularities * fix TimeDimensionGranularity type to allow custom granularities * Add more unit tests for granularities * fix writing yaml with test cubes definitions containing origin with dashes * add tests for custom granularities in testing drivers * skip custom granularities tests for athena * skip custom granularities tests for clickhouse * add test snapshots for custom granularities tests for postgres * skip custom granularities tests for mysql (some) * add test snapshots for custom granularities tests for ms sql * skip custom granularities tests for mssql (some) * add test snapshots for custom granularities tests for snowflake * add test snapshots for custom granularities tests for bigQuery * skip custom granularities tests for databricks (some) * add test snapshots for custom granularities tests for Databricks * Implement dateBin for ClickHouse * Add custom granularities integration tests for ClickHouse * unskip custom granularities tests for clickhouse (some) * add test snapshots for custom granularities tests for ClickHouse * fix linting * fix integration tests for clickhouse v22.x * fix in dateBin for Postgresql and Bigquery * Add char limits for granularities names in queries * Add time series date range limit checking before generating * add tests for limit checking in time series generation * Improve error message for time series limit * fix tests for time series limit * Refactor: move isGranularityNaturalAligned from Basequery → Granularity class * add test snapshots for custom granularities tests for MySQL * move diffTimeUnitForInterval to BaseQuery * fix in choosing minGranularity for granularity with origin point
cube-js#8684) * feat(schema-compiler): implement dateBin() in CubeStoreQuery * Add tests for dateBin in CubeStoreQuery * add e2e tests for custom granularities with preaggregations * Remove console.log
…8706) Usage of upx has been disabled because it is crashing for macOS Ventura or above! It was disabled on 2024-09-05.
BREAKING CHANGE: This functionality was deprecated starting from v0.26.0. Please migrate to SECURITY_CONTEXT.
…definitions (cube-js#8708) * fix(schema-compiler): Add missing “quarter” time unit to granularity definitions * add tests for quarters in granularities * fix(schema-compiler): allow custom granularities with 1 week interval definition * more tests
…ube-js#8664) * Update resolveSymbol & cubeReferenceProxy to support deep properties resolution (proxied custom granularities) * Update evaluateSymbolSql to support deep properties resolution (proxied custom granularities) * add unit tests for proxied time dimension granularities * refactor: remove cubePropertyReferenceProxy and move required logic piece to cubeReferenceProxy * fix func types in CubeEvaluator * Add support for proxying predefined granularities * Add tests for proxying predefined granularities * fix proxying granularities, referenced from different cubes * add tests for proxying granularities, referenced from different cubes * Add check for undefined during custom granularities tests * fix proxying items, referenced from different cubes/views * rename internalPropertyName -> subPropertyName in evaluateSymbolSql * fix after merge/rebase * Add comments in evaluateSymbolSql * create resolveSubProperty for unified way of subproperty resolving * Add usefull comments * implement proxied time dim granularity evaluation within the BaseQuery/evaluateSymbolSql area, not going to dimensionSql() * refactoring in resolveGranularity flow * reverted back to dimensionSql() * fix populating granularities in the views * add unit tests for custom granularities in views * add integration tests for proxied granularity
raised in error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check List
Issue Reference this PR resolves
[For example cube-js#12]
Description of Changes Made (if issue reference is not provided)
[Description goes here]