📊 Cube Core is open-source semantic layer for AI, BI and embedded analytics
415 matches across 15 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …schemas/yaml_files/common/integration_multi_stage.yaml | 356 | # ── filter: directive variants ──────────────────────────────────── |
| MEDIUM | …schemas/yaml_files/common/integration_multi_stage.yaml | 478 | # ── filter on segments ──────────────────────────────────────────── |
| MEDIUM | …esqlplanner/cubesqlplanner/src/tests/measure_symbol.rs | 18 | // ─── Per-measure property tests ───────────────────────────────────────────── |
| MEDIUM | …esqlplanner/cubesqlplanner/src/tests/measure_symbol.rs | 208 | // ─── new_patched: valid type replacements ─────────────────────────────────── |
| MEDIUM | …esqlplanner/cubesqlplanner/src/tests/measure_symbol.rs | 282 | // ─── new_patched: invalid type replacements ───────────────────────────────── |
| MEDIUM | …esqlplanner/cubesqlplanner/src/tests/measure_symbol.rs | 335 | // ─── new_patched: no type change (None) ───────────────────────────────────── |
| MEDIUM | …esqlplanner/cubesqlplanner/src/tests/measure_symbol.rs | 364 | // ─── new_patched: filter addition validation ──────────────────────────────── |
| MEDIUM | …esqlplanner/cubesqlplanner/src/tests/measure_symbol.rs | 437 | // ─── new_patched: combined type change + filters ──────────────────────────── |
| MEDIUM | …esqlplanner/cubesqlplanner/src/tests/measure_symbol.rs | 473 | // ─── Multi-stage properties + filter directive ────────────────────────────── |
| MEDIUM | …qlplanner/cubesqlplanner/src/tests/dimension_symbol.rs | 13 | // ─── Per-dimension property tests ─────────────────────────────────────────── |
| MEDIUM | …ner/cubesqlplanner/src/tests/filter/partition_range.rs | 123 | // ── partition range + db timezone ────────────────────────────────────────── |
| MEDIUM | …besqlplanner/cubesqlplanner/src/tests/filter/to_sql.rs | 8 | // ── equals ────────────────────────────────────────────────────────────────── |
| MEDIUM | …besqlplanner/cubesqlplanner/src/tests/filter/to_sql.rs | 113 | // ── notEquals ─────────────────────────────────────────────────────────────── |
| MEDIUM | …besqlplanner/cubesqlplanner/src/tests/filter/to_sql.rs | 160 | // ── in / notIn ────────────────────────────────────────────────────────────── |
| MEDIUM | …besqlplanner/cubesqlplanner/src/tests/filter/to_sql.rs | 231 | // ── set / notSet ──────────────────────────────────────────────────────────── |
| MEDIUM | …besqlplanner/cubesqlplanner/src/tests/filter/to_sql.rs | 253 | // ── comparison operators ──────────────────────────────────────────────────── |
| MEDIUM | …besqlplanner/cubesqlplanner/src/tests/filter/to_sql.rs | 423 | // ── contains with multiple values ─────────────────────────────────────────── |
| MEDIUM | …besqlplanner/cubesqlplanner/src/tests/filter/to_sql.rs | 459 | // ── like with null ────────────────────────────────────────────────────────── |
| MEDIUM | …besqlplanner/cubesqlplanner/src/tests/filter/to_sql.rs | 495 | // ── filter groups (OR / AND) ──────────────────────────────────────────────── |
| MEDIUM | …besqlplanner/cubesqlplanner/src/tests/filter/to_sql.rs | 578 | // ── date operators ────────────────────────────────────────────────────────── |
| MEDIUM | …sqlplanner/cubesqlplanner/src/tests/filter/tree_ops.rs | 154 | // ─── keep_only_members ────────────────────────────────────────────────────── |
| MEDIUM | …sqlplanner/cubesqlplanner/src/tests/filter/tree_ops.rs | 230 | // ─── segment handling ─────────────────────────────────────────────────────── |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 572 | // | ┌─────────────────────────────┐ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 574 | // | ┌───┼─────────────┐ │ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 576 | // | │ └─────────────┼───────────────┘ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 578 | // | └─────────────────┘ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 579 | // └──────────────────────────────────────────> Rows |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 582 | // ═══════════════════════════════════════════════════════════════════ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 588 | // | ┌─────────────────────────────┐ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 590 | // | ┌───┼─────────────┐ │ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 592 | // | │░░░└─────────────┼───────────────┘ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 594 | // | └─────────────────┘ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 595 | // └──────────────────────────────────────────> Rows |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 599 | // ═══════════════════════════════════════════════════════════════════ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 605 | // | ┌─────────────────────────────┐ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 607 | // | ┌───┼─────────────┐░░░░░░░░░░░░░░░│ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 609 | // | │ └─────────────┼───────────────┘ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 611 | // | └─────────────────┘ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 612 | // └──────────────────────────────────────────> Rows |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 616 | // ═══════════════════════════════════════════════════════════════════ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 622 | // | ┌─────────────────────────────┐ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 624 | // | ┌───┼─────────────┐ │ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 626 | // | │ └─────────────┼───────────────┘ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 628 | // | └─────────────────┘ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 629 | // └──────────────────────────────────────────> Rows |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 633 | // ═══════════════════════════════════════════════════════════════════ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 639 | // | ┌─────────────────────────────┐ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 641 | // | ┌───┼─────────────┐ │ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 643 | // | │ └─────────────┼───────────────┘ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 645 | // | └─────────────────┘ |
| MEDIUM | packages/cubejs-server-core/src/core/CompilerApi.ts | 646 | // └──────────────────────────────────────────> Rows |
| MEDIUM | …er/test/integration/postgres/multi-stage-grain.test.ts | 69 | # ── single-element variants ──────────────────────────────────── |
| MEDIUM | …er/test/integration/postgres/multi-stage-grain.test.ts | 94 | # ── two-element arrays ──────────────────────────────────────── |
| MEDIUM | …er/test/integration/postgres/multi-stage-grain.test.ts | 122 | # ── keep_only + include combination ────────────────────────── |
| MEDIUM | …er/test/integration/postgres/multi-stage-grain.test.ts | 139 | // ── single-element variants ────────────────────────────────── |
| MEDIUM | …er/test/integration/postgres/multi-stage-grain.test.ts | 195 | // ── two-element arrays ─────────────────────────────────────── |
| MEDIUM | …er/test/integration/postgres/multi-stage-grain.test.ts | 243 | // ── keep_only + include combination ────────────────────────── |
| MEDIUM | …sting/birdbox-fixtures/rbac/model/cubes/customers.yaml | 13 | # | ┌─────────────────┐ |
| MEDIUM | …sting/birdbox-fixtures/rbac/model/cubes/customers.yaml | 15 | # | │ ┌─────────────┼───────────────┐ |
| MEDIUM | …sting/birdbox-fixtures/rbac/model/cubes/customers.yaml | 17 | # | └───┼─────────────┘ Policy 2 │ (all members, with row filter) |
| 2 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | rust/cubestore/cubezetasketch/src/encoding.rs | 41 | /// *ρ(w)* can be determined from the lowest *sp-p* bits of the sparse index or |
| LOW | rust/cubestore/cubezetasketch/src/sketch.rs | 21 | /// estimate as defined in hllplus-unique.proto, allowing users to merge aggregators with data |
| LOW | rust/cubestore/cubezetasketch/src/sketch.rs | 81 | // /** The smallest normal precision supported by this aggregator. */ |
| LOW | rust/cubestore/cubezetasketch/src/data.rs | 21 | /// We only support a small range of precisions from `MINIMUM_PRECISION` to |
| LOW | rust/cubestore/cubezetasketch/src/data.rs | 61 | } |
| LOW | rust/cubestore/cubezetasketch/src/data.rs | 161 | |
| LOW | rust/cubestore/cubezetasketch/src/data.rs | 441 | ] |
| LOW | rust/cubestore/cubezetasketch/src/sparse.rs | 341 | /// - If the sparse representation has become too large, converts to a `NormalRepresentation`. |
| LOW | rust/cubestore/cubestore/src/util/metrics.rs | 1 | //! DogStatsD client to report metrics over UDP. |
| LOW | rust/cubestore/cubestore/src/sys/malloc.rs | 1 | #[cfg(all(target_os = "linux", not(target_env = "musl")))] // malloc_trim is only in glibc. |
| LOW | …ore/cubestore/src/cachestore/cache_eviction_manager.rs | 141 | let decrement = elapsed_minutes / decay_time; |
| LOW | …ubestore/cubestore/src/queryplanner/pretty_printers.rs | 741 | .join(","), |
| LOW | rust/cubestore/cubestore/src/queryplanner/rolling.rs | 721 | // let other_cols = input |
| LOW | rust/cubestore/cubestore/src/queryplanner/rolling.rs | 981 | // if matching_row_lower_bound < group_end |
| LOW | rust/cubestore/cubestore/src/queryplanner/udf_xirr.rs | 21 | |
| LOW | rust/cubestore/cubestore/src/queryplanner/udf_xirr.rs | 41 | /// If omitted, the function will yield an error when it cannot find a solution. Must be |
| LOW | rust/cubestore/cubestore/src/queryplanner/udf_xirr.rs | 221 | on_error, |
| LOW | rust/cubestore/cubestore/src/queryplanner/udf_xirr.rs | 241 | // ScalarValue::Float16(o) => Ok(o.map(f64::from)), |
| LOW | rust/cubestore/cubestore/src/queryplanner/udf_xirr.rs | 261 | // ScalarValue::FixedSizeBinary(_, _) => err("FixedSizeBinary"), |
| LOW | rust/cubestore/cubestore/src/queryplanner/udf_xirr.rs | 281 | // ScalarValue::DurationSecond(_) => err("DurationSecond"), |
| LOW | rust/cubestore/cubestore/src/queryplanner/udf_xirr.rs | 301 | // .map(|date| date.num_days_from_ce() - EPOCH_DAYS_FROM_CE) |
| LOW | rust/cubestore/cubestore/src/queryplanner/udf_xirr.rs | 321 | // ScalarValue::Int16(_) => err("Int16"), |
| LOW | rust/cubestore/cubestore/src/queryplanner/udf_xirr.rs | 341 | // ScalarValue::Map(_) => err("Map"), |
| LOW | …ubestore/cubestore/src/queryplanner/serialized_plan.rs | 481 | Arc::new(input), |
| LOW | …ubestore/cubestore/src/queryplanner/serialized_plan.rs | 761 | | LogicalPlan::DescribeTable(_) => { |
| LOW | …ubestore/cubestore/src/queryplanner/serialized_plan.rs | 781 | // SerializedLogicalPlan::CrossJoinAgg { |
| LOW | …ubestore/cubestore/src/queryplanner/serialized_plan.rs | 801 | // aggs, |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 1 | // TODO upgrade DF |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 21 | // fn optimize( |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 41 | // let lift_up_result = lift_up_expensive_projections(input, ColumnRecorder::default()); |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 61 | |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 81 | // Err(e) => { |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 101 | // .collect::<Result<Vec<_>>>()?; |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 121 | // Expr::Column(c) => { |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 141 | // impl ExpressionVisitor for ExpressionCost { |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 161 | // fn post_visit(mut self, expr: &Expr) -> Result<Self> { |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 181 | // cost_visitor = ex.accept(cost_visitor)?; |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 201 | // ); |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 221 | // // Columns that we are already retaining. .0 field indexes into `expr`. .1 field is |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 241 | // if used_columns.columns.contains(&field.qualified_column()) { |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 261 | // if expensive_expr_list.is_empty() { |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 281 | // let mut new_expr = Vec::<Expr>::new(); |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 301 | // pal_debug!("ar_col {:?} comparing to col {:?}", ar_col, col); |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 321 | // used_field_names.insert(input_field.name().clone()); |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 341 | // ); |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 361 | // pal_debug!("Invoking DFSchema::new"); |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 381 | // mod tests { |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 401 | |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 421 | |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 441 | // let formatted = format!("{:?}", plan); |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 461 | |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 481 | // let plan = LogicalPlanBuilder::from(table_scan) |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 501 | // \n Sort: #a1 ASC NULLS FIRST\ |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 521 | // col("b").alias("b1"), |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 541 | // \n TableScan: test projection=None"; |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 561 | // let expected = "Limit: 50\ |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 581 | // fn limit_sorted_plan_with_nonexpensive_expr() -> Result<()> { |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 601 | |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 621 | // let expected = "Limit: 50\ |
| LOW | …e/cubestore/src/queryplanner/projection_above_limit.rs | 641 | // .project([ |
| 156 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') >= parse_timestamp(''1970-01-01t01:00:00.000z'', ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') >= parse_timestamp(''1970-01-01t01:00:00.000z'', ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') >= parse_timestamp(''1970-01-01t01:00:00.000z'', ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') >= parse_timestamp(''1970-01-01t01:00:00.000z'', ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') >= parse_timestamp(''1970-01-01t01:00:00.000z'', ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') >= parse_timestamp(''1970-01-01t01:00:00.000z'', ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') >= parse_timestamp(''1970-01-01t01:00:00.000z'', ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') \ and parse_timestamp(`timestamp`, ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') \ and parse_timestamp(`timestamp`, ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') \ and parse_timestamp(`timestamp`, ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') \ and parse_timestamp(`timestamp`, ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') \ and parse_timestamp(`timestamp`, ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') \ and parse_timestamp(`timestamp`, ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') \ and parse_timestamp(`timestamp`, ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') < parse_timestamp(''1970-01-01t01:10:00.000z'', ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') < parse_timestamp(''1970-01-01t01:10:00.000z'', ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') < parse_timestamp(''1970-01-01t01:10:00.000z'', ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') < parse_timestamp(''1970-01-01t01:10:00.000z'', ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') < parse_timestamp(''1970-01-01t01:10:00.000z'', ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') < parse_timestamp(''1970-01-01t01:10:00.000z'', ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx'', ''utc'') < parse_timestamp(''1970-01-01t01:10:00.000z'', ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx''), ''utc'', ''utc'' ), ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx''), ''utc'', ''utc'' ), ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sssx''), ''utc'', ''utc'' ), ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sss'', ''utc'' ) minute_timestamp from `events_by_type` \ where parse_timestamp(`timestamp`, ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sss'', ''utc'' ) minute_timestamp from `events_by_type` \ where parse_timestamp(`timestamp`, ''yyyy-mm-dd |
| HIGH | rust/cubestore/cubestore/src/streaming/mod.rs | 0 | 'hh:mm:ss.sss'', ''utc'' ) minute_timestamp from `events_by_type` \ where parse_timestamp(`timestamp`, ''yyyy-mm-dd |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | rust/cubestore/js-wrapper/src/download.ts | 36 | export async function downloadBinaryFromRelease() { |
| LOW | docs/components/mdx/YouTubeVideo.jsx | 3 | function formatAspectRatioAsPercentage(aspectRatio) { |
| LOW | packages/cubejs-backend-maven/src/maven.ts | 163 | export function getDependenciesFromPackage(): MavenDependency[] { |
| LOW | …src/QueryBuilderV2/utils/get-used-cubes-and-members.ts | 82 | export function extractMembersFromFilters(filters: Filter[]) { |
| LOW | …js-playground/src/QueryBuilderV2/utils/chart-colors.ts | 102 | export function getChartSolidColorByIndex(index: number) { |
| LOW | …yground/src/QueryBuilderV2/utils/graphql-converters.ts | 11 | export async function convertGraphQLToJsonQuery({ |
| LOW | …yground/src/QueryBuilderV2/utils/graphql-converters.ts | 52 | export function convertJsonQueryToGraphQL({ meta, query }: { meta?: Meta | null; query: Query }) { |
| LOW | …rc/components/QueryTabs/ChartRendererStateProvider.tsx | 38 | export function ChartRendererStateProvider({ |
| LOW | …rc/components/QueryTabs/ChartRendererStateProvider.tsx | 161 | export function useChartRendererStateMethods() { |
| LOW | …bejs-playground/src/components/QueryTabs/QueryTabs.tsx | 294 | function handleDrilldownModalClose() { |
| LOW | …ents/LivePreviewContext/LivePreviewContextProvider.tsx | 151 | export function LivePreviewContextProvider({ |
| LOW | packages/cubejs-playground/src/rollup-designer/utils.ts | 28 | export function getPreAggregationReferences( |
| LOW | packages/cubejs-playground/src/rollup-designer/utils.ts | 88 | export function getRollupDefinitionFromReferences( |
| LOW | packages/cubejs-api-gateway/src/query.js | 290 | function parseInputMemberExpression(expression) { |
| LOW | packages/cubejs-api-gateway/src/graphql.ts | 469 | export function getJsonQueryFromGraphQLQuery(query: string, metaConfig: any, variableValues: Record<string, any> = {}) { |
| LOW | …ejs-api-gateway/src/helpers/transform-meta-extended.ts | 22 | function handleDimensionCaseCondition(caseCondition: any) { |
| LOW | packages/cubejs-schema-compiler/test/unit/utils.ts | 102 | export function createCubeSchemaWithAccessPolicy(name: string, extraPolicies: string = ''): string { |
| LOW | packages/cubejs-schema-compiler/test/unit/utils.ts | 230 | export function createCubeSchemaWithCustomGranularitiesAndTimeShift(name: string): string { |
| LOW | packages/cubejs-schema-compiler/test/unit/utils.ts | 380 | export function createViewSchemaWithDefaultValueFilter(): string { |
| LOW | packages/cubejs-schema-compiler/test/unit/utils.ts | 442 | export function createSchemaYamlForGroupFilterParamsTests(cubeDefSql: string): string { |
| LOW | …kages/cubejs-schema-compiler/src/compiler/JoinGraph.ts | 303 | function findIfMultipliedRecursive(currentCube: string) { |
| LOW | …s/cubejs-schema-compiler/src/compiler/CubeValidator.ts | 1267 | function formatErrorMessageFromDetails(explain, d) { |
| LOW | …s/cubejs-schema-compiler/src/compiler/CubeValidator.ts | 1294 | function collectFunctionFieldsPatterns(patterns, path, o) { |
| LOW | …-schema-compiler/src/compiler/named-numeric-formats.ts | 74 | export function resolveNamedNumericFormat(value: string): string | undefined { |
| LOW | …es/cubejs-testing/test/smoke-graceful-shutdown.test.ts | 29 | function unconnectedPostgresClient(user: string, password: string) { |
| LOW | packages/cubejs-testing/src/birdbox.ts | 250 | export async function startBirdBoxFromContainer( |
| LOW | packages/cubejs-backend-native/test/config.py | 56 | async def scheduled_refresh_time_zones(ctx): |
| LOW | packages/cubejs-backend-native/test/config.py | 62 | async def scheduled_refresh_contexts(ctx): |
| LOW | packages/cubejs-backend-native/test/old-config.py | 34 | async def scheduled_refresh_time_zones(ctx): |
| LOW | packages/cubejs-backend-native/test/old-config.py | 41 | async def scheduled_refresh_contexts(ctx): |
| LOW | packages/cubejs-backend-native/test/jinja.test.ts | 42 | function testTemplateWithPythonCtxBySnapshot(init: InitJinjaFn, templateName: string, ctx: unknown) { |
| LOW | packages/cubejs-backend-native/test/jinja.test.ts | 54 | function testTemplateErrorWithPythonCtxBySnapshot(init: InitJinjaFn, templateName: string, ctx: unknown) { |
| LOW | packages/cubejs-backend-native/test/jinja.test.ts | 71 | function testLoadBrokenTemplateBySnapshot(init: InitJinjaFn, templateName: string) { |
| LOW | packages/cubejs-backend-native/test/bridge/helpers.ts | 53 | export function invokeFilterParamsCallback( |
| LOW | packages/cubejs-backend-native/js/index.ts | 195 | function wrapNativeFunctionWithChannelCallback( |
| LOW | packages/cubejs-backend-native/js/index.ts | 234 | function wrapRawNativeFunctionWithChannelCallback( |
| LOW | packages/cubejs-backend-native/js/index.ts | 274 | function wrapNativeFunctionWithStream( |
| LOW | …ubejs-cubestore-driver/codegen/http-parameter-value.ts | 23 | export function unionToHttpParameterValue( |
| LOW | …ubejs-cubestore-driver/codegen/http-parameter-value.ts | 39 | export function unionListToHttpParameterValue( |
| LOW | packages/cubejs-base-driver/src/driver.interface.ts | 111 | export function isDownloadTableMemoryData(tableData: any): tableData is TableMemoryData { |
| LOW | packages/cubejs-databricks-jdbc-driver/src/helpers.ts | 42 | export function extractAndRemoveUidPwdFromJdbcUrl(jdbcUrl: string): [uid: string, pwd: string, cleanedUrl: string] { |
| LOW | …ubejs-testing-drivers/src/tests/testExternalSchemas.ts | 7 | export function redshiftExternalSchemasSuite( |
| LOW | …ting-drivers/src/tests/testIncrementalSchemaLoading.ts | 13 | export function incrementalSchemaLoadingSuite( |
| LOW | …ry-orchestrator/test/benchmarks/QueueBench.abstract.ts | 15 | function patchQueueDriverConnectionForTrack(connection: QueueDriverConnectionInterface, counters: any): QueueDriverConne |
| LOW | …query-orchestrator/src/orchestrator/PreAggregations.ts | 63 | export function getLastUpdatedAtTimestamp( |
| LOW | …ery-orchestrator/src/orchestrator/QueryOrchestrator.ts | 41 | function detectQueueAndCacheDriver(options: QueryOrchestratorOptions): CacheAndQueryDriverType { |
| LOW | packages/cubejs-backend-shared/src/machine-id.ts | 8 | function isWindowsProcessMixedOrNativeArchitecture(): 'native' | 'mixed' | '' { |
| LOW | packages/cubejs-backend-shared/src/proxy.ts | 3 | export async function getHttpAgentForProxySettings() { |
| LOW | packages/cubejs-backend-shared/src/env.ts | 146 | export function hasPreAggregationsEnvVars(dataSource: string = 'default'): boolean { |
| LOW | packages/cubejs-backend-shared/src/time.ts | 63 | export function findMinGranularityDimension(id: string, dimensions: DimensionToCompareGranularity[]): { index: number, d |
| LOW | packages/cubejs-backend-shared/src/package.ts | 127 | export async function resolveBuiltInPackageVersion(pkgName: string) { |
| LOW | packages/cubejs-backend-shared/src/package.ts | 134 | export async function resolveUserPackageVersion(pkgName: string) { |
| LOW | docs-mintlify/scripts/migrate_redirects.py | 101 | def generate_migration_redirects() -> list[dict]: |
| LOW | docs-mintlify/scripts/copy_content.py | 123 | def migrate_apis_integrations( |
| LOW | docs-mintlify/scripts/transform_components.py | 390 | def transform_community_driver(content: str) -> str: |
| LOW | docs-mintlify/scripts/transform_components.py | 442 | def transform_filename_to_title(content: str) -> str: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | rust/cubestore/cubestore-sql-tests/src/tests.rs | 1920 | // change with time, though, so test is not robust. |
| MEDIUM | rust/cubesql/cubesql/src/compile/rewrite/converter.rs | 1444 | // Regular join would use hash partitioning here, so it would be quicker, and utilize less CPU, |
| MEDIUM | packages/cubejs-api-gateway/src/graphql.ts | 403 | // Push down all inDateRange filters to time dimensions to leverage pre-aggregations |
| MEDIUM | packages/cubejs-backend-native/Cargo.toml | 61 | # harness. Off by default — never enable in production builds. |
| MEDIUM | packages/cubejs-backend-native/src/node_export.rs | 820 | #[cfg(feature = "bridge-test-harness")] |
| MEDIUM | packages/cubejs-backend-native/src/lib.rs | 7 | #[cfg(feature = "bridge-test-harness")] |
| MEDIUM | .github/workflows/claude-code-review.yml | 182 | # Tools for comprehensive PR review |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | rust/cubesql/cubesql/src/compile/rewrite/converter.rs | 2135 | self.cube_context.sessions.server.config_obj.clone(), |
| CRITICAL | …chema-compiler/test/unit/context-symbols-proxy.test.ts | 121 | expect(proxy.a.b.c.d.e.filter('col')).toBe('1 = 1'); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | docs-mintlify/scripts/migrate_redirects.py | 186 | print(f"Error: {redirects_path} not found", file=sys.stderr) |
| MEDIUM | docs-mintlify/scripts/rewrite_links.py | 222 | print(f"Error: {target} not found", file=sys.stderr) |
| MEDIUM | docs-mintlify/scripts/check_links.py | 111 | print(f"Error: {docs_root} not found", file=sys.stderr) |
| MEDIUM | docs-mintlify/scripts/copy_content.py | 350 | print(f"Error: Source directory not found: {src_root}", file=sys.stderr) |
| MEDIUM | docs-mintlify/scripts/update_frontmatter.py | 220 | print(f"Error: {target} not found", file=sys.stderr) |
| MEDIUM | docs-mintlify/scripts/transform_components.py | 564 | print(f"Error: {target} not found", file=sys.stderr) |
| MEDIUM | docs-mintlify/scripts/migrate.py | 145 | print(f"Error: Source not found: {source}", file=sys.stderr) |
| MEDIUM | docs-mintlify/scripts/migrate.py | 153 | print(f"Error: Unknown step '{step}'. Available: {', '.join(STEPS.keys())}", file=sys.stderr) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …besqlplanner/src/planner/symbols/common/symbol_path.rs | 82 | // Step 1: If current_cube set, try resolving parts[0] as member |
| LOW | …besqlplanner/src/planner/symbols/common/symbol_path.rs | 91 | // Step 2: Try resolving parts[0] as cube reference |
| LOW | …cubesqlplanner/src/planner/time_dimension/date_time.rs | 83 | // Step 1: add years and months with fallback logic |
| LOW | …cubesqlplanner/src/planner/time_dimension/date_time.rs | 111 | // Step 2: Add weeks and days |
| LOW | …cubesqlplanner/src/planner/time_dimension/date_time.rs | 115 | // Step 3: Recombine with original time |
| LOW | …cubesqlplanner/src/planner/time_dimension/date_time.rs | 119 | // Step 4: Add time-based parts |
| LOW | …/cubejs-server-core/test/unit/RefreshScheduler.test.ts | 1208 | // Step 1: Immediate retry - should skip due to backoff (10-second window) |
| LOW | …/cubejs-server-core/test/unit/RefreshScheduler.test.ts | 1228 | // Step 2: Verify backoff persists - pre-aggregation is still in backoff after 500ms |
| LOW | …ges/cubejs-schema-compiler/src/compiler/CubeSymbols.ts | 1407 | // so we need to check if such granularity exists in cube definition. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | rust/cubesql/cubesql/src/compile/test/test_udfs.rs | 342 | regexp_substr('test@test.com', '@[^.]*') as match_dot, |
| LOW | rust/cubesql/cubesql/src/compile/test/test_udfs.rs | 346 | regexp_substr('test@test.com', null) as pattern_null, |
| LOW | rust/cubesql/cubesql/src/compile/test/test_udfs.rs | 347 | regexp_substr('test@test.com', '@[^.]*', 1) as position_default, |
| LOW | rust/cubesql/cubesql/src/compile/test/test_udfs.rs | 348 | regexp_substr('test@test.com', '@[^.]*', 5) as position_no_skip, |
| LOW | rust/cubesql/cubesql/src/compile/test/test_udfs.rs | 349 | regexp_substr('test@test.com', '@[^.]*', 6) as position_skip, |
| LOW | rust/cubesql/cubesql/src/compile/test/test_udfs.rs | 350 | regexp_substr('test@test.com', '@[^.]*', 0) as position_zero, |
| LOW | rust/cubesql/cubesql/src/compile/test/test_udfs.rs | 351 | regexp_substr('test@test.com', '@[^.]*', -1) as position_negative, |
| LOW | rust/cubesql/cubesql/src/compile/test/test_udfs.rs | 352 | regexp_substr('test@test.com', '@[^.]*', 100) as position_more_then_input |
| LOW | rust/cubesql/cubesql/src/compile/test/test_udfs.rs | 364 | SELECT 'test@test.com' as a |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docs-mintlify/scripts/rewrite_links.py | 159 | |
| LOW | docs-mintlify/scripts/rewrite_links.py | 189 | |
| LOW | docs-mintlify/scripts/check_links.py | 64 | |
| LOW | docs-mintlify/scripts/copy_content.py | 123 | |
| LOW | docs-mintlify/scripts/copy_content.py | 189 | |
| LOW | docs-mintlify/scripts/copy_content.py | 228 | |
| LOW | docs-mintlify/scripts/update_frontmatter.py | 98 | |
| LOW | docs-mintlify/scripts/update_frontmatter.py | 187 | |
| LOW | docs-mintlify/scripts/transform_components.py | 488 | |
| LOW | docs-mintlify/scripts/transform_components.py | 519 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .github/workflows/rust-cubesql.yml | 123 | # TODO: Add 24 after it's been released (don't forget to uncomment excludes below!) |
| LOW | .github/workflows/rust-cubesql.yml | 123 | # TODO: Add 24 after it's been released (don't forget to uncomment excludes below!) |
| LOW | .github/workflows/push.yml | 80 | # Don't forget to update build-native-release |
| LOW | .github/workflows/push.yml | 266 | # Don't forget to align with PYTHON_VERSION_CURRENT |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docs/vercel-deploy-check.sh | 15 | # Check if docs changed since last successful deployment |
| LOW | …es/cubejs-testing/birdbox-fixtures/rbac-python/cube.py | 18 | # Check if any of the specified keys are in the dictionary |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docs-mintlify/scripts/upload-asset.sh | 5 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packages/cubejs-backend-native/test/utils.py | 4 | def test_function(query: dict) -> dict: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docs-mintlify/scripts/transform_components.py | 20 |