File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
packages/cubejs-schema-compiler/src/adapter Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -3066,16 +3066,26 @@ export class BaseQuery {
3066
3066
return sql ;
3067
3067
}
3068
3068
3069
+ /**
3070
+ * @param {string } sql
3071
+ * @returns {string }
3072
+ */
3069
3073
wrapSegmentForDimensionSelect ( sql ) {
3070
3074
return sql ;
3071
3075
}
3072
3076
3077
+ /**
3078
+ * @param {string } cubeName
3079
+ */
3073
3080
pushCubeNameForCollectionIfNecessary ( cubeName ) {
3074
3081
if ( ( this . evaluateSymbolContext || { } ) . cubeNames && cubeName ) {
3075
3082
this . evaluateSymbolContext . cubeNames . push ( cubeName ) ;
3076
3083
}
3077
3084
}
3078
3085
3086
+ /**
3087
+ * @param {string|Array<string> } joinHints
3088
+ */
3079
3089
pushJoinHints ( joinHints ) {
3080
3090
if ( this . safeEvaluateSymbolContext ( ) . joinHints && joinHints ) {
3081
3091
if ( Array . isArray ( joinHints ) && joinHints . length === 1 ) {
@@ -3085,6 +3095,10 @@ export class BaseQuery {
3085
3095
}
3086
3096
}
3087
3097
3098
+ /**
3099
+ * @param {string } cubeName
3100
+ * @param {string } name
3101
+ */
3088
3102
pushMemberNameForCollectionIfNecessary ( cubeName , name ) {
3089
3103
const pathFromArray = this . cubeEvaluator . pathFromArray ( [ cubeName , name ] ) ;
3090
3104
if ( ! this . cubeEvaluator . getCubeDefinition ( cubeName ) . isView ) {
You can’t perform that action at this time.
0 commit comments