Give AI agents the context to query business data correctly through the open context layer that gives AI agents grounded, governed memory, context, SQL across 20+ data sources, that helps you build agentic GenBI, text-to-sql, dashboards, and agentic analytics.
1445 matches across 10 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | core/wren-core-wasm/examples/csv-quickstart.html | 146 | // ── 1. Standard CSV with inferred schema ───────────────────────── |
| MEDIUM | core/wren-core-wasm/examples/csv-quickstart.html | 151 | // ── 2. TSV: tab delimiter ──────────────────────────────────────── |
| MEDIUM | core/wren-core-wasm/examples/csv-quickstart.html | 156 | // ── 3. Headerless CSV with explicit Arrow schema ──────────────── |
| MEDIUM | core/wren-core-wasm/src/lib.rs | 1114 | // ── register_csv ──────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile_web.py | 33 | # ── GET / ────────────────────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile_web.py | 58 | # ── GET /fields ──────────────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile_web.py | 146 | # ── POST /save ───────────────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile.py | 85 | # ── Sensitive field masking ─────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile.py | 118 | # ── resolve_connection ──────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile.py | 277 | # ── from-file import helpers (used by CLI) ──────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile.py | 23 | # ── CRUD ────────────────────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile.py | 148 | # ── resolve_profile_for_project ─────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile.py | 236 | # ── Round-trip persistence ──────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile_cli.py | 63 | # ── add ─────────────────────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile_cli.py | 190 | # ── import dbt ──────────────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile_cli.py | 434 | # ── add --validate ──────────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile_cli.py | 35 | # ── list ────────────────────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile_cli.py | 357 | # ── switch ──────────────────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile_cli.py | 381 | # ── rm ──────────────────────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/test_profile_cli.py | 398 | # ── debug ───────────────────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/connectors/test_canner.py | 82 | # ── helper-level unit tests ─────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/connectors/test_canner.py | 203 | # ── end-to-end testcontainer test ───────────────────────────────────────── |
| MEDIUM | core/wren/tests/connectors/test_trino.py | 39 | # --------------------------------------------------------------------------- |
| MEDIUM | core/wren/tests/connectors/test_trino.py | 41 | # --------------------------------------------------------------------------- |
| MEDIUM | core/wren/tests/connectors/test_trino.py | 230 | # --------------------------------------------------------------------------- |
| MEDIUM | core/wren/tests/connectors/test_trino.py | 232 | # --------------------------------------------------------------------------- |
| MEDIUM | core/wren/tests/connectors/test_trino.py | 299 | # ------------------------------------------------------------------ |
| MEDIUM | core/wren/tests/connectors/test_trino.py | 302 | # ------------------------------------------------------------------ |
| MEDIUM | core/wren/tests/connectors/test_mssql.py | 140 | # ---------------------------------------------------------------------- |
| MEDIUM | core/wren/tests/connectors/test_mssql.py | 142 | # ---------------------------------------------------------------------- |
| MEDIUM | core/wren/tests/connectors/test_postgres.py | 93 | # --------------------------------------------------------------------------- |
| MEDIUM | core/wren/tests/connectors/test_postgres.py | 95 | # --------------------------------------------------------------------------- |
| MEDIUM | core/wren/tests/unit/test_osi.py | 102 | # ── Unit: WREN block extraction ─────────────────────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_osi.py | 138 | # ── Unit: extract_wren_config — precedence ──────────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_osi.py | 178 | # ── Unit: _parse_source ─────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_osi.py | 216 | # ── Unit: _pick_expression ──────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_osi.py | 253 | # ── Unit: _is_calculated_expression ─────────────────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_osi.py | 271 | # ── Integration: build_manifest_from_osi on minimal fixture ────────────── |
| MEDIUM | core/wren/tests/unit/test_osi.py | 345 | # ── Integration: build_json_from_osi (camelCase + layoutVersion) ────────── |
| MEDIUM | core/wren/tests/unit/test_osi.py | 372 | # ── Integration: TPC-DS full fixture (exercises every warning path) ─────── |
| MEDIUM | core/wren/tests/unit/test_osi.py | 433 | # ── Integration: ref_sql source detection ──────────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_osi.py | 449 | # ── Integration: multi semantic_model requires selection ────────────────── |
| MEDIUM | core/wren/tests/unit/test_osi.py | 472 | # ── Integration: lint_osi_file ───────────────────────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_osi.py | 493 | # ── Regression: malformed inputs surface as ValidationError ────────────── |
| MEDIUM | core/wren/tests/unit/test_osi.py | 25 | # ── Fixtures ────────────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_osi.py | 34 | # ── Unit: parse_osi / select_semantic_model ─────────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_osi.py | 568 | # ── CLI integration ────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_osi.py | 743 | # ── CLI: init --from-osi (one-way migration) ───────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_engine.py | 69 | # ------------------------------------------------------------------ |
| MEDIUM | core/wren/tests/unit/test_engine.py | 71 | # ------------------------------------------------------------------ |
| MEDIUM | core/wren/tests/unit/test_engine.py | 100 | # ------------------------------------------------------------------ |
| MEDIUM | core/wren/tests/unit/test_engine.py | 102 | # ------------------------------------------------------------------ |
| MEDIUM | core/wren/tests/unit/test_engine.py | 114 | # ------------------------------------------------------------------ |
| MEDIUM | core/wren/tests/unit/test_engine.py | 116 | # ------------------------------------------------------------------ |
| MEDIUM | core/wren/tests/unit/test_cli_store_tip.py | 40 | # ── main() (default callback) ────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_cli_store_tip.py | 78 | # ── query subcommand ─────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_mysql_helpers.py | 28 | # ── _coerce_limit ───────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_mysql_helpers.py | 55 | # ── _apply_limit ────────────────────────────────────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_mysql_helpers.py | 76 | # ── _arrow_decimal_from_mysql_field ────────────────────────────────────── |
| MEDIUM | core/wren/tests/unit/test_mysql_helpers.py | 132 | # ── TIME → duration round-trip ──────────────────────────────────────────── |
| 271 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/wren-core-py/tests/test_modeling_core.py | 155 | def test_get_available_functions(): |
| LOW | core/wren-core-py/tests/test_modeling_core.py | 225 | def test_extractor_with_invalid_manifest(value, expected_error, error_message): |
| LOW | core/wren-core-py/tests/test_modeling_core.py | 245 | def test_resolve_used_table_names(sql, expected): |
| LOW | core/wren-core-py/tests/test_modeling_core.py | 449 | def test_backward_compatible_check(): |
| LOW | core/wren-core-py/tests/test_modeling_core.py | 554 | def test_case_sensitive_without_quote(): |
| LOW | core/wren-core-py/tests/test_cube.py | 75 | def test_time_dimension_with_date_range(): |
| LOW | core/wren-core-py/tests/test_cube.py | 128 | def test_unknown_measure_error(): |
| LOW | core/wren-core-py/tests/test_cube.py | 134 | def test_invalid_cube_query_json(): |
| LOW | core/wren-core-py/tests/test_cube.py | 139 | def test_invalid_manifest_json(): |
| LOW | core/wren/tests/test_profile_web.py | 43 | def test_form_contains_datasource_options(client): |
| LOW | core/wren/tests/test_profile_web.py | 52 | def test_form_has_save_button(client): |
| LOW | core/wren/tests/test_profile_web.py | 61 | def test_fields_endpoint_postgres(client): |
| LOW | core/wren/tests/test_profile_web.py | 72 | def test_fields_endpoint_password_type(client): |
| LOW | core/wren/tests/test_profile_web.py | 78 | def test_fields_endpoint_bigquery_file_input(client): |
| LOW | core/wren/tests/test_profile_web.py | 88 | def test_fields_with_variant_bigquery_project(client): |
| LOW | core/wren/tests/test_profile_web.py | 95 | def test_fields_with_variant_bigquery_dataset(client): |
| LOW | core/wren/tests/test_profile_web.py | 103 | def test_fields_variant_selector_rendered(client): |
| LOW | core/wren/tests/test_profile_web.py | 112 | def test_fields_no_variant_selector_for_postgres(client): |
| LOW | core/wren/tests/test_profile_web.py | 118 | def test_fields_empty_datasource_returns_empty(client): |
| LOW | core/wren/tests/test_profile_web.py | 125 | def test_fields_duckdb_url_label(client): |
| LOW | core/wren/tests/test_profile_web.py | 131 | def test_fields_duckdb_format_hidden(client): |
| LOW | core/wren/tests/test_profile_web.py | 138 | def test_fields_snowflake_schema_label(client): |
| LOW | core/wren/tests/test_profile_web.py | 149 | def test_save_creates_profile(isolated_profiles): |
| LOW | core/wren/tests/test_profile_web.py | 175 | def test_save_populates_result_dict(isolated_profiles): |
| LOW | core/wren/tests/test_profile_web.py | 187 | def test_save_missing_datasource(client): |
| LOW | core/wren/tests/test_profile_web.py | 195 | def test_save_with_json_fallback(isolated_profiles): |
| LOW | core/wren/tests/test_profile_web.py | 217 | def test_save_invalid_json_returns_error(client): |
| LOW | core/wren/tests/test_profile_web.py | 255 | def test_save_skips_empty_fields(isolated_profiles): |
| LOW | core/wren/tests/test_field_registry.py | 28 | def test_get_datasource_options_sorted(): |
| LOW | core/wren/tests/test_field_registry.py | 36 | def test_get_fields_returns_field_defs(): |
| LOW | core/wren/tests/test_field_registry.py | 43 | def test_get_fields_postgres_names(): |
| LOW | core/wren/tests/test_field_registry.py | 61 | def test_auto_derive_password(): |
| LOW | core/wren/tests/test_field_registry.py | 71 | def test_auto_derive_placeholder_from_examples(): |
| LOW | core/wren/tests/test_field_registry.py | 79 | def test_ui_override_bigquery_credentials(): |
| LOW | core/wren/tests/test_field_registry.py | 89 | def test_datasource_override_duckdb_url(): |
| LOW | core/wren/tests/test_field_registry.py | 97 | def test_datasource_override_duckdb_format_hidden(): |
| LOW | core/wren/tests/test_field_registry.py | 105 | def test_datasource_override_local_file_url(): |
| LOW | core/wren/tests/test_field_registry.py | 135 | def test_get_fields_bigquery_default_variant(): |
| LOW | core/wren/tests/test_field_registry.py | 145 | def test_get_fields_bigquery_project_variant(): |
| LOW | core/wren/tests/test_field_registry.py | 153 | def test_no_missing_overrides_sf_schema(): |
| LOW | core/wren/tests/test_field_registry.py | 160 | def test_no_missing_overrides_trino_schema(): |
| LOW | core/wren/tests/test_field_registry.py | 167 | def test_snowflake_sf_schema_alias(): |
| LOW | core/wren/tests/test_field_registry.py | 173 | def test_hidden_discriminator_fields(): |
| LOW | core/wren/tests/test_field_registry.py | 184 | def test_fields_match_mcp_web_ui_postgres(): |
| LOW | core/wren/tests/test_field_registry.py | 191 | def test_fields_match_mcp_web_ui_snowflake(): |
| LOW | core/wren/tests/test_field_registry.py | 198 | def test_fields_match_mcp_web_ui_bigquery(): |
| LOW | core/wren/tests/test_field_registry.py | 205 | def test_unknown_datasource_raises(): |
| LOW | core/wren/tests/test_field_registry.py | 16 | def test_all_datasources_covered(): |
| LOW | core/wren/tests/test_field_registry.py | 219 | def test_dict_fields_excluded(): |
| LOW | core/wren/tests/test_field_registry.py | 234 | def test_get_fields_all_datasources(): |
| LOW | core/wren/tests/test_field_registry.py | 242 | def test_get_fields_all_variants(): |
| LOW | core/wren/tests/test_profile.py | 79 | def test_remove_last_profile_clears_active(): |
| LOW | core/wren/tests/test_profile.py | 88 | def test_debug_masks_sensitive(): |
| LOW | core/wren/tests/test_profile.py | 108 | def test_debug_no_active_profile(): |
| LOW | core/wren/tests/test_profile.py | 113 | def test_debug_unknown_profile(): |
| LOW | core/wren/tests/test_profile.py | 121 | def test_resolve_explicit_wins(): |
| LOW | core/wren/tests/test_profile.py | 128 | def test_resolve_explicit_conn_info_wins(): |
| LOW | core/wren/tests/test_profile.py | 135 | def test_resolve_profile_fallback(): |
| LOW | core/wren/tests/test_profile.py | 253 | def test_profiles_yml_file_permissions(isolated_profiles: Path): |
| LOW | core/wren/tests/test_profile.py | 259 | def test_load_raw_invalid_yaml(isolated_profiles: Path): |
| 762 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | evals/spodbtify_ab/run_eval.py | 9 | |
| LOW | core/wren/tests/test_profile_web.py | 3 | |
| LOW | core/wren/tests/test_field_registry.py | 3 | |
| LOW | core/wren/tests/test_profile.py | 3 | |
| LOW | core/wren/tests/test_profile_cli.py | 3 | |
| LOW | core/wren/tests/connectors/test_datafusion.py | 7 | |
| LOW | core/wren/tests/connectors/test_snowflake.py | 6 | |
| LOW | core/wren/tests/connectors/test_duckdb.py | 7 | |
| LOW | core/wren/tests/connectors/test_canner.py | 10 | |
| LOW | core/wren/tests/connectors/test_mysql_connector.py | 7 | |
| LOW | core/wren/tests/connectors/test_mysql.py | 7 | |
| LOW | core/wren/tests/connectors/test_trino.py | 10 | |
| LOW | core/wren/tests/connectors/test_trino.py | 225 | |
| LOW | core/wren/tests/connectors/test_mssql.py | 7 | |
| LOW | core/wren/tests/connectors/test_clickhouse.py | 8 | |
| LOW | core/wren/tests/connectors/test_postgres.py | 7 | |
| LOW | core/wren/tests/unit/test_osi.py | 3 | |
| LOW | core/wren/tests/unit/test_version.py | 3 | |
| LOW | core/wren/tests/unit/test_engine.py | 7 | |
| LOW | core/wren/tests/unit/test_cli_store_tip.py | 6 | |
| LOW | core/wren/tests/unit/test_mysql_helpers.py | 8 | |
| LOW | core/wren/tests/unit/test_cte_rewriter.py | 3 | |
| LOW | core/wren/tests/unit/test_athena_connector.py | 7 | |
| LOW | core/wren/tests/unit/test_context_cli.py | 3 | |
| LOW | core/wren/tests/unit/test_dbt.py | 3 | |
| LOW | core/wren/tests/unit/test_profile_env_expansion.py | 9 | |
| LOW | core/wren/tests/unit/test_cli_profile_resolve.py | 5 | |
| LOW | core/wren/tests/unit/test_seed_queries.py | 3 | |
| LOW | core/wren/tests/unit/test_convert_mdl.py | 3 | |
| LOW | core/wren/tests/unit/test_clickhouse_helpers.py | 6 | |
| LOW | core/wren/tests/unit/test_case_sensitivity.py | 15 | |
| LOW | core/wren/tests/unit/test_config.py | 3 | |
| LOW | core/wren/tests/unit/test_context.py | 3 | |
| LOW | core/wren/tests/unit/test_context.py | 10 | |
| LOW | core/wren/tests/unit/test_context.py | 1095 | |
| LOW | core/wren/tests/unit/test_memory.py | 3 | |
| LOW | core/wren/tests/unit/test_type_mapping.py | 3 | |
| LOW | core/wren/tests/unit/test_cube_cli.py | 3 | |
| LOW | core/wren/tests/unit/test_policy.py | 6 | |
| LOW | core/wren/tests/unit/test_mssql_connection.py | 16 | |
| LOW | core/wren/tests/suite/manifests.py | 3 | |
| LOW | core/wren/tests/suite/query.py | 102 | |
| LOW | core/wren/tests/suite/test_ref_sql.py | 8 | |
| LOW | core/wren/src/wren/type_mapping.py | 19 | |
| LOW | core/wren/src/wren/utils_cli.py | 3 | |
| LOW | core/wren/src/wren/context_cli.py | 3 | |
| LOW | core/wren/src/wren/config.py | 3 | |
| LOW | core/wren/src/wren/dbt.py | 3 | |
| LOW | core/wren/src/wren/osi.py | 23 | |
| LOW | core/wren/src/wren/profile_web.py | 13 | |
| LOW | core/wren/src/wren/profile.py | 9 | |
| LOW | core/wren/src/wren/policy.py | 7 | |
| LOW | core/wren/src/wren/__init__.py | 6 | |
| LOW | core/wren/src/wren/__init__.py | 7 | |
| LOW | core/wren/src/wren/__init__.py | 8 | |
| LOW | core/wren/src/wren/docs.py | 3 | |
| LOW | core/wren/src/wren/cube_cli.py | 3 | |
| LOW | core/wren/src/wren/engine.py | 21 | |
| LOW | core/wren/src/wren/context.py | 3 | |
| LOW | core/wren/src/wren/cli.py | 3 | |
| 65 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/wren-core-py/tests/test_modeling_core.py | 387 | except Exception as e: |
| LOW | core/wren-core-py/tests/test_modeling_core.py | 442 | except Exception as e: |
| LOW | core/wren/tests/connectors/test_mssql.py | 40 | except Exception: |
| MEDIUM | core/wren/tests/connectors/test_mssql.py | 37 | def _have_mssql_driver() -> bool: |
| LOW | core/wren/tests/connectors/test_clickhouse.py | 98 | except Exception as e: # noqa: BLE001 |
| LOW | core/wren/src/wren/context_cli.py | 482 | except Exception as e: |
| LOW | core/wren/src/wren/context_cli.py | 497 | except Exception as profile_exc: |
| LOW | core/wren/src/wren/context_cli.py | 813 | except Exception as exc: |
| LOW | core/wren/src/wren/profile_web.py | 160 | except Exception: |
| LOW | core/wren/src/wren/profile.py | 191 | except Exception: |
| LOW | core/wren/src/wren/cube_cli.py | 314 | except Exception as e: |
| LOW | core/wren/src/wren/engine.py | 120 | except Exception as e: |
| LOW | core/wren/src/wren/engine.py | 136 | except Exception as e: |
| LOW | core/wren/src/wren/engine.py | 200 | except Exception as e: |
| LOW | core/wren/src/wren/engine.py | 224 | except Exception as e: |
| LOW | core/wren/src/wren/context.py | 1318 | except Exception as e: |
| LOW | core/wren/src/wren/context.py | 1342 | except Exception as e: |
| LOW | core/wren/src/wren/cli.py | 568 | except Exception: |
| LOW | core/wren/src/wren/cli.py | 574 | except Exception: |
| LOW | core/wren/src/wren/cli.py | 580 | except Exception: |
| LOW | core/wren/src/wren/cli.py | 41 | except Exception as e: |
| LOW | core/wren/src/wren/cli.py | 418 | except Exception as e: |
| LOW | core/wren/src/wren/cli.py | 442 | except Exception as e: |
| LOW | core/wren/src/wren/cli.py | 503 | except Exception as e: |
| LOW | core/wren/src/wren/cli.py | 531 | except Exception as e: |
| LOW | core/wren/src/wren/cli.py | 548 | except Exception as e: |
| LOW | core/wren/src/wren/profile_cli.py | 141 | except Exception as exc: |
| LOW | core/wren/src/wren/profile_cli.py | 382 | except Exception as exc: # noqa: BLE001 — surface whatever driver raises |
| LOW | core/wren/src/wren/memory/cli.py | 142 | except Exception: |
| LOW | core/wren/src/wren/connector/redshift.py | 63 | except Exception as e: |
| MEDIUM | core/wren/src/wren/connector/redshift.py | 60 | def close(self) -> None: |
| LOW | core/wren/src/wren/connector/clickhouse.py | 375 | except Exception as e: |
| LOW | core/wren/src/wren/connector/trino.py | 434 | except Exception as e: |
| LOW | core/wren/src/wren/connector/mssql.py | 70 | except Exception as e: |
| LOW | core/wren/src/wren/connector/mssql.py | 86 | except Exception as e: |
| LOW | core/wren/src/wren/connector/mssql.py | 107 | except Exception: |
| LOW | core/wren/src/wren/connector/mssql.py | 149 | except Exception: |
| LOW | core/wren/src/wren/connector/mssql.py | 167 | except Exception: |
| LOW | core/wren/src/wren/connector/bigquery.py | 52 | except Exception as e: |
| MEDIUM | core/wren/src/wren/connector/bigquery.py | 49 | def close(self) -> None: |
| LOW | core/wren/src/wren/connector/snowflake.py | 86 | except Exception: |
| LOW | core/wren/src/wren/connector/postgres.py | 158 | except Exception: |
| LOW | core/wren/src/wren/connector/postgres.py | 263 | except Exception as e: |
| LOW | core/wren/src/wren/connector/postgres.py | 280 | except Exception as e: |
| LOW | core/wren/src/wren/connector/postgres.py | 295 | except Exception: |
| LOW | core/wren/src/wren/connector/postgres.py | 298 | except Exception as e: |
| LOW | core/wren/src/wren/connector/spark.py | 45 | except Exception: |
| LOW | core/wren/src/wren/connector/databricks.py | 58 | except Exception as e: |
| MEDIUM | core/wren/src/wren/connector/databricks.py | 55 | def close(self) -> None: |
| LOW | core/wren/src/wren/connector/oracle.py | 164 | except Exception: |
| LOW | core/wren/src/wren/connector/datafusion.py | 70 | except Exception as e: |
| LOW | core/wren/src/wren/connector/duckdb.py | 71 | except Exception: |
| LOW | core/wren/src/wren/connector/duckdb.py | 109 | except Exception as e: |
| LOW | core/wren/src/wren/connector/duckdb.py | 118 | except Exception as e: |
| MEDIUM | core/wren/src/wren/connector/duckdb.py | 115 | def close(self) -> None: |
| LOW | core/wren/src/wren/connector/athena.py | 74 | except Exception: |
| LOW | core/wren/src/wren/connector/athena.py | 304 | except Exception as e: |
| LOW | core/wren/src/wren/connector/athena.py | 318 | except Exception as e: |
| LOW | core/wren/src/wren/connector/athena.py | 331 | except Exception: |
| LOW | core/wren/src/wren/connector/canner.py | 142 | except Exception: |
| 14 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/wren-core-py/scripts/publish.sh | 1 | #!/usr/bin/env bash |
| LOW | core/wren-core-py/src/extractor.rs | 261 | } |
| LOW | core/wren-core-py/src/remote_functions.rs | 1 | // Licensed to the Apache Software Foundation (ASF) under one |
| LOW | core/wren-core-py/src/context.rs | 1 | // Licensed to the Apache Software Foundation (ASF) under one |
| LOW | core/wren-core-wasm/src/lib.rs | 1 | //! # wren-core-wasm |
| LOW | core/wren-core-wasm/src/lib.rs | 21 | //! |
| LOW | core/wren-core-wasm/src/lib.rs | 41 | ctx: datafusion::execution::context::SessionContext, |
| LOW | core/wren-core-wasm/src/lib.rs | 181 | /// CSV is read with `arrow::csv::ReaderBuilder`. Schema is inferred from |
| LOW | core/wren-core-wasm/src/lib.rs | 281 | |
| LOW | core/wren-core-wasm/src/lib.rs | 581 | )) |
| LOW | core/wren/scripts/publish.sh | 1 | #!/usr/bin/env bash |
| LOW | core/wren/src/wren/mdl/cte_rewriter.py | 121 | return sqlglot.transpile(wren_sql, read="wren", write=self.dialect)[0] |
| LOW | core/wren/src/wren/mdl/cte_rewriter.py | 261 | # column refs come from the post-normalize AST whose case |
| LOW | core/wren-core/rustfmt.toml | 1 | # Licensed to the Apache Software Foundation (ASF) under one |
| LOW | core/wren-core/taplo.toml | 1 | # Licensed to the Apache Software Foundation (ASF) under one |
| LOW | core/wren-core/core/src/mdl/context.rs | 221 | // be casted to the target type if needed |
| LOW | core/wren-core/core/src/mdl/context.rs | 241 | // Disable ScalarSubqueryToJoin to avoid generate invalid sql (join without condition) |
| LOW | core/wren-core/core/src/mdl/context.rs | 261 | // TODO: Sort with pushdown-limit doesn't support to be unparse |
| LOW | …n-core/core/src/logical_plan/optimize/type_coercion.rs | 901 | .map(|(i, expr)| expr.cast_to(&new_types[i], schema)) |
| LOW | …n-core/core/src/logical_plan/optimize/type_coercion.rs | 921 | // |
| LOW | …en-core/core/src/logical_plan/analyze/model_anlayze.rs | 21 | use std::sync::Arc; |
| LOW | core/wren-core/core/src/logical_plan/analyze/scope.rs | 21 | /// SELECT a, b, c FROM table |
| LOW | core/wren-core/benchmarks/bench.sh | 1 | #!/usr/bin/env bash |
| LOW | core/wren-core/benchmarks/requirements.txt | 1 | # Licensed to the Apache Software Foundation (ASF) under one |
| LOW | core/wren-core/benchmarks/compare.py | 1 | #!/usr/bin/env python |
| LOW | core/wren-core/sqllogictest/bin/sqllogictests.rs | 1 | // Licensed to the Apache Software Foundation (ASF) under one |
| LOW | core/wren-core/sqllogictest/bin/sqllogictests.rs | 281 | /// |
| LOW | core/wren-core/sqllogictest/src/test_context.rs | 1 | // Licensed to the Apache Software Foundation (ASF) under one |
| LOW | core/wren-core/sqllogictest/src/test_context.rs | 181 | // TODO: duplicate `orders.customer_state` |
| LOW | core/wren-core/sqllogictest/src/engine/conversion.rs | 1 | // Licensed to the Apache Software Foundation (ASF) under one |
| LOW | core/wren-core/sqllogictest/src/engine/normalize.rs | 1 | // Licensed to the Apache Software Foundation (ASF) under one |
| LOW | core/wren-core/sqllogictest/src/engine/normalize.rs | 61 | |
| LOW | core/wren-core/sqllogictest/src/engine/normalize.rs | 121 | |
| LOW | core/wren-core/sqllogictest/src/engine/error.rs | 1 | // Licensed to the Apache Software Foundation (ASF) under one |
| LOW | core/wren-core/sqllogictest/src/engine/runner.rs | 1 | // Licensed to the Apache Software Foundation (ASF) under one |
| LOW | core/wren-core/sqllogictest/src/engine/mod.rs | 1 | // Licensed to the Apache Software Foundation (ASF) under one |
| LOW | core/wren-core/sqllogictest/src/engine/output.rs | 1 | // Licensed to the Apache Software Foundation (ASF) under one |
| LOW | docs/core/.sync.yml | 1 | # Declarative sync config: WrenAI/docs/core → doc website |
| LOW | sdk/wren-pydantic/pyproject.toml | 61 | |
| LOW | sdk/wren-langchain/pyproject.toml | 61 | redshift = ["wren-engine[redshift]>=0.5.0"] |
| LOW | scripts/sync-docs.sh | 1 | #!/usr/bin/env bash |
| LOW | .github/actions/rust/setup-windows-builder/action.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one |
| LOW | .github/actions/rust/setup-builder/action.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one |
| LOW | .github/actions/rust/setup-macos-builder/action.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one |
| LOW | …b/actions/rust/setup-macos-aarch64-builder/action.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one |
| LOW | .github/actions/rust/setup-rust-runtime/action.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | evals/spodbtify_ab/run_eval.py | 92 | |
| LOW | core/wren/src/wren/context_cli.py | 667 | |
| LOW | core/wren/src/wren/dbt.py | 730 | |
| LOW | core/wren/src/wren/dbt.py | 1116 | |
| LOW | core/wren/src/wren/osi.py | 411 | |
| LOW | core/wren/src/wren/policy.py | 66 | |
| LOW | core/wren/src/wren/docs.py | 145 | |
| LOW | core/wren/src/wren/docs.py | 168 | |
| LOW | core/wren/src/wren/context.py | 273 | |
| LOW | core/wren/src/wren/context.py | 700 | |
| LOW | core/wren/src/wren/context.py | 1254 | |
| LOW | core/wren/src/wren/context.py | 1283 | |
| LOW | core/wren/src/wren/cli.py | 151 | |
| LOW | core/wren/src/wren/cli.py | 450 | |
| LOW | core/wren/src/wren/profile_cli.py | 395 | |
| LOW | core/wren/src/wren/mdl/cte_rewriter.py | 304 | |
| LOW | core/wren/src/wren/mdl/cte_rewriter.py | 385 | |
| LOW | core/wren/src/wren/mdl/cte_rewriter.py | 331 | |
| LOW | core/wren/src/wren/memory/schema_indexer.py | 220 | |
| LOW | core/wren/src/wren/memory/cli.py | 109 | |
| LOW | core/wren/src/wren/memory/cli.py | 151 | |
| LOW | core/wren/src/wren/model/field_registry.py | 258 | |
| LOW | core/wren/src/wren/connector/clickhouse.py | 195 | |
| LOW | core/wren/src/wren/connector/trino.py | 147 | |
| LOW | core/wren/src/wren/connector/mssql.py | 116 | |
| LOW | core/wren/src/wren/connector/mssql.py | 264 | |
| LOW | core/wren/src/wren/connector/postgres.py | 146 | |
| LOW | core/wren/src/wren/connector/oracle.py | 50 | |
| LOW | core/wren/src/wren/connector/duckdb.py | 100 | |
| LOW | core/wren/src/wren/connector/athena.py | 135 | |
| LOW | core/wren/src/wren/connector/canner.py | 146 | |
| LOW | core/wren/src/wren/connector/mysql.py | 396 | |
| LOW | sdk/wren-pydantic/src/wren_pydantic/_errors.py | 82 | |
| LOW | sdk/wren-langchain/examples/langgraph_demo.py | 127 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | core/wren/tests/connectors/test_snowflake.py | 147 | assert result.equals(expected) |
| HIGH | core/wren/tests/unit/test_osi.py | 263 | ("a || b", "concat", True), # concat |
| HIGH | core/wren/tests/unit/test_profile_env_expansion.py | 149 | (mirrors the typical ``cd subdir && wren --sql`` usage).""" |
| HIGH | core/wren/src/wren/profile.py | 174 | f"profiles.yml: 'active' must be a string or null; got {type(active).__name__}.\n" |
| HIGH | core/wren/src/wren/context.py | 67 | | Rebuild after changes | `wren context build && wren memory index` | |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | sdk/wren-pydantic/src/wren_pydantic/_tools_memory.py | 0 | recall up to *limit* past nl→sql pairs similar to *question*. useful as few-shot examples before writing new sql. pairs |
| HIGH | sdk/wren-pydantic/src/wren_pydantic/_tools_memory.py | 0 | recall up to *limit* past nl→sql pairs similar to *question*. useful as few-shot examples before writing new sql. pairs |
| HIGH | sdk/wren-langchain/src/wren_langchain/_tools_memory.py | 0 | recall up to *limit* past nl→sql pairs similar to *question*. useful as few-shot examples before writing new sql. pairs |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/wren-core-py/scripts/publish.sh | 5 | # Usage: |
| LOW | core/wren/scripts/publish.sh | 5 | # Usage: |
| LOW | scripts/sync-docs.sh | 10 | # Usage: |
| LOW | skills/install.sh | 4 | # Usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | core/wren/src/wren/model/field_registry.py | 342 | Return ordered FieldDef list for a datasource. Args: datasource: DataSource name (e.g. "bigquery"). |