docs: pre-aggregation data source activation, variable families and driver_factory precedence - #11389
Draft
igorlukanin wants to merge 1 commit into
Draft
Conversation
…ies and driver_factory precedence (CORE-417)
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or 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
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.
Follow-up to #10587. The main documentation for pre-aggregation-specific data source credentials landed in 3a84d1a, but a few points that trip readers up were missing.
PRE_AGGREGATIONSsegment switches the data source onto the dedicated connection — there is no separate flag. Called out explicitly, along with the fourCUBEJS_PRE_AGGREGATIONS_*variables that share the prefix but configure behavior rather than a connection (SCHEMA,BUILDER,BACKOFF_MAX_TIME,ALLOW_NON_STRICT_DATE_RANGE_MATCH) and so deliberately do not trigger it. These look like they would, which was the most confusing part._DB_*—JDBC_,AWS_,DATABASEandFIREBOLT_take it too. Previously an Athena or Firebolt user would conclude the feature didn't apply to them.driver_factoryprecedence. A customdriver_factorywins over the env vars and logs aPre-aggregation driver conflictwarning. This was undocumented on both the pre-aggregations page and thedriver_factoryreference.Also replaced the
N/Aplaceholders in theCUBEJS_PRE_AGGREGATIONS_DB_*reference table withNot set.yarn broken-links --check-anchorsreports no issues in the changed files (the 16 pre-existing failures are all inembedding/iframe/, untouched here).