MCPcopy Create free account

hub / github.com/dbt-labs/dbt-fusion / functions

Functions15,474 in github.com/dbt-labs/dbt-fusion

↓ 23 callersFunctionresponse_body
(response: Response)
crates/dbt-docs-server/src/handlers/models_tests.rs:265
↓ 23 callersMethodtake
(&mut self)
crates/dbt-test-utils/src/task/env.rs:235
↓ 23 callersMethodthreads
(&self)
crates/dbt-adapter/src/engine/xdbc.rs:572
↓ 23 callersMethodwith_password
(&mut self, password: impl AsRef<str>)
crates/dbt-xdbc/src/database/builder.rs:263
↓ 22 callersMethodadd_filter
(&self, name: &str, callback: &Bound<'_, PyAny>)
crates/dbt-jinja/minijinja-py/src/environment.rs:192
↓ 22 callersFunctionassert_configs_equal
(left: &QueryCommentConfig, right: &QueryCommentConfig)
crates/dbt-adapter/src/engine/query_comment.rs:227
↓ 22 callersMethodclose
Mark the recorder as closed. After calling this, further events will be silently dropped. The channel closes when this EventRecorder (and all clones)
crates/dbt-adapter/src/time_machine/event_recorder.rs:61
↓ 22 callersMethodfind_materialization_macro_by_name
Resolve the fully qualified materialization macro function name according to dbt rules Rules: - When require_explicit_package_overrides_for_builtin_m
crates/dbt-schemas/src/materialization_resolver.rs:226
↓ 22 callersMethodget
( m: &'a std::collections::BTreeMap<String, dbt_yaml::Value>, k: &str, )
crates/dbt-schemas/src/schemas/prev_state/mod.rs:683
↓ 22 callersMethoditer
(&self)
crates/dbt-csv/src/reader/records.rs:501
↓ 22 callersFunctionload_catalogs_yaml
(yaml: &str)
crates/dbt-adapter/src/catalog_relation/catalog_relation_v2.rs:990
↓ 22 callersMethodmessage
Returns the error message without the error code prefix. Includes file location and backtrace if present. This is used by tracing layers where the cod
crates/dbt-error/src/types.rs:315
↓ 22 callersFunctionparse_model_specifiers
Turn the tokenised CLI list (already split on whitespace by Clap) into a `SelectExpression` tree. Outer level**: each whitespace‑separated token is a
crates/dbt-common/src/node_selector.rs:518
↓ 22 callersFunctionrename
Wrapper around [`std::fs::rename`] that returns a useful error in case of failure.
crates/dbt-common/src/stdfs.rs:117
↓ 22 callersMethodrender_str
Render a template from a string.
crates/dbt-jinja-utils/src/jinja_environment.rs:138
↓ 22 callersMethodresource_type
(&self)
crates/dbt-tasks-sa/src/barrier.rs:38
↓ 22 callersFunctionresponse_body
(response: Response)
crates/dbt-docs-server/src/handlers/tests_tests.rs:265
↓ 22 callersFunctionserialize_with_mode
Serialize a value with the specified mode Note: This assumes config structs do NOT have #[skip_serializing_none], so None values are serialized as nu
crates/dbt-schemas/src/schemas/serialization_utils.rs:19
↓ 22 callersFunctionsimple_eval
( instructions: &Instructions<'_>, ctx: S, )
crates/dbt-jinja/minijinja/tests/test_vm.rs:11
↓ 22 callersFunctionstr_field_default
(v: &'a Value, key: &str, default: &'a str)
crates/dbt-index-core/src/ingest/payload.rs:50
↓ 22 callersMethodwith_cause
Adds a cause to this error, replacing the existing cause if any Note: if you attach a cause to an error, make sure you don't format the cause into th
crates/dbt-error/src/types.rs:377
↓ 22 callersFunctionwrite_rows
Write rows to a parquet file using serde_arrow + ZSTD compression. Writes in chunks of 256 rows to keep memory bounded for large batches.
crates/dbt-metadata-parquet/src/epoch_io.rs:60
↓ 21 callersMethodbuild
Attempt to initialize a [`Database`] using the values provided to this builder using the provided [`Driver`].
crates/dbt-xdbc/src/database/builder.rs:326
↓ 21 callersMethodbuild_graph
Build the graph
crates/dbt-scheduler/src/schedule.rs:1200
↓ 21 callersFunctioncreate_test_node
(unique_id: &str, columns: Vec<&str>)
crates/dbt-scheduler/src/node_selector.rs:1245
↓ 21 callersMethodeval_expr
( slf: PyRef<'_, Self>, expression: &str, ctx: Option<&Bound<'_, PyDict>>, )
crates/dbt-jinja/minijinja-py/src/environment.rs:707
↓ 21 callersMethodget_canonical_fqn
(&self)
crates/dbt-adapter/src/relation/relation_impl.rs:259
↓ 21 callersMethodget_schema
Retrieves the schema from the cache, hydrating it from disk on first use.
crates/dbt-schema-store/src/store.rs:284
↓ 21 callersMethodheader
Get the recording header.
crates/dbt-adapter/src/time_machine/engine.rs:167
↓ 21 callersMethodkeys
Return all keys in the map.
crates/dbt-jinja/minijinja/src/value/object.rs:1540
↓ 21 callersMethodload
Load defer state from disk, cloud, or reuse a previously loaded state. Returns the previous state (if available) and the filtered defer nodes (ephemer
crates/dbt-defer/src/lib.rs:68
↓ 21 callersFunctionmake_remote_config
(cfg: TestDynamicTableConfig)
crates/dbt-adapter/src/relation/snowflake/config/test_helpers.rs:30
↓ 21 callersFunctionmodel
(adapter_type: AdapterType, config: serde_json::Value)
crates/dbt-adapter/src/catalog_relation/catalog_relation_v2.rs:939
↓ 21 callersFunctionread_dir
Wrapper around [`std::fs::read_dir`] that returns a useful error in case of failure.
crates/dbt-common/src/stdfs.rs:111
↓ 21 callersFunctionresponse_body
(response: Response)
crates/dbt-docs-server/src/handlers/sources_tests.rs:332
↓ 21 callersMethodrows
(self: &Arc<Self>)
crates/dbt-agate/src/table.rs:244
↓ 21 callersMethodtest
Test if a string value matches this type.
crates/dbt-csv/src/type_tester.rs:287
↓ 21 callersMethodwith_nodes
(mut self, batches: Vec<RecordBatch>)
crates/dbt-docs-server/src/handlers/search_tests.rs:90
↓ 20 callersFunctionassert_executed_contains
Assert that at least one SQL sent to `adapter.execute()` contains the given substring (case insensitive).
crates/dbt-loader/tests/macro_test_harness/mod.rs:184
↓ 20 callersFunctionbuild
(ctx: MutableMap)
crates/dbt-jinja/minijinja/src/macros.rs:47
↓ 20 callersFunctionbuild_multi_seed_graph
Build the shared test DAG used by the multi-seed tests. ```text src_a src_b src_c iso_a / \ / \ / \
crates/dbt-scheduler/src/schedule.rs:2249
↓ 20 callersMethodextensions
(&self)
crates/dbt-common/src/tracing/span_info.rs:31
↓ 20 callersMethodget
(&self, key: MetricKey)
crates/dbt-common/src/tracing/metrics.rs:68
↓ 20 callersMethodget
Returns the cached [`SchemaEntry`] for `lookup_key`, if present. Deserializes the IPC bytes on first call; subsequent calls return the cached [`Schem
crates/dbt-schema-store/src/parquet_cache.rs:488
↓ 20 callersMethodget
(&self, idx: usize)
crates/dbt-jinja/minijinja/src/compiler/instructions.rs:346
↓ 20 callersMethodget_attr_fast
Alternative lookup strategy without error handling exclusively for context resolution. The main difference is that the return value will be `None` if
crates/dbt-jinja/minijinja/src/value/mod.rs:1360
↓ 20 callersFunctionhash_file_at_path
(path: &Path)
crates/dbt-metadata/src/partial_parse.rs:360
↓ 20 callersMethodinto_value
(self)
crates/dbt-agate/src/table.rs:440
↓ 20 callersMethodis_empty
(&self)
crates/dbt-jinja/minijinja/src/compiler/instructions.rs:470
↓ 20 callersMethodnext
(&mut self)
crates/dbt-xdbc/src/odbc.rs:356
↓ 20 callersFunctionnode_epoch_path
(dir: &Path, epoch: u32)
crates/dbt-metadata/src/parse_state.rs:113
↓ 20 callersFunctionremove_dir_all
Wrapper around [`std::fs::remove_dir_all`] that returns a useful error in case of failure.
crates/dbt-common/src/stdfs.rs:33
↓ 20 callersFunctionretcode_to_result
Convert an ODBC return code to a [`Result`] from `adbc_core`. This is the only place where we convert ODBC return codes to `Result` and the only depe
crates/dbt-xdbc/src/odbc_api.rs:16
↓ 20 callersMethodsave
Flushes all in-memory parquet-cache entries to disk as new epoch files. - `Selected` entries → `compiled_state/schemas_analyzed/{N}.parquet` - all ot
crates/dbt-schema-store/src/store.rs:846
↓ 20 callersMethodschema_as_str
Schema as string or error
crates/dbt-schemas/src/schemas/relations/base.rs:208
↓ 20 callersMethodstore
Sets the underlying value atomically.
crates/dbt-common/src/atomic.rs:22
↓ 20 callersFunctiontoken_store_in
(dir: &TempDir)
crates/dbt-run-cache/src/auth/oauth.rs:514
↓ 20 callersMethodtype_ops
(&self)
crates/dbt-adapter/src/engine/xdbc.rs:588
↓ 19 callersMethodapply_to
Applies the filter to a value and argument.
crates/dbt-jinja/minijinja/src/filters.rs:249
↓ 19 callersMethodbuild
Create a new `Reader` from a non-buffered reader If `R: BufRead` consider using [`Self::build_buffered`] to avoid unnecessary additional buffering, a
crates/dbt-csv/src/reader/mod.rs:1130
↓ 19 callersMethodcatalog
Returns the canonical catalog identifier.
crates/dbt-schema-store/src/lib.rs:100
↓ 19 callersFunctionenv
Test env reader that filters empty strings (like non_empty_env).
crates/dbt-cloud-config/src/resolve.rs:137
↓ 19 callersMethodeval
( &self, instructions: &'template Instructions<'env>, root: Value, blocks: &'t
crates/dbt-jinja/minijinja/src/vm/mod.rs:183
↓ 19 callersMethodget_item_by_index
(&self, idx: isize)
crates/dbt-agate/src/lib.rs:160
↓ 19 callersMethodis_compatible_with
Compatibility check used for typechecking (permissive). This is intentionally *not* the same as [`Type::is_subtype_of`]. The subtype relation is used
crates/dbt-jinja/minijinja/src/types/mod.rs:145
↓ 19 callersFunctionload
( arg: &LoadArgs, iarg: Cow<'_, InvocationArgs>, tracing_features: Option<&dyn TracingConfigProvid
crates/dbt-loader/src/loader.rs:180
↓ 19 callersFunctionmake_state
(backend: MockBackend)
crates/dbt-docs-server/src/handlers/models_tests.rs:181
↓ 19 callersFunctionnormalize_key
Main entry: A base64 DER is the body of a PEM - If BOTH headers present -> return as-is. - If NEITHER header present -> classify and wrap with the mat
crates/dbt-auth/src/snowflake/key_format.rs:173
↓ 19 callersMethodparse
Parse the SQL type and return it along with a boolean indicating if its nullable.
crates/dbt-adapter-sql/src/types/mod.rs:506
↓ 19 callersMethodpeek
(&self)
crates/dbt-jinja/minijinja/src/vm/context.rs:127
↓ 19 callersFunctionquery_ctx_from_state
Create a new instance from the current jinja state.
crates/dbt-adapter/src/query_ctx.rs:14
↓ 19 callersMethodquote_policy
(&self)
crates/dbt-adapter/src/relation/relation_impl.rs:212
↓ 19 callersMethodrender
(self: &Arc<Self>, f: &mut std::fmt::Formatter<'_>)
crates/dbt-jinja-utils/src/phases/compile_and_run_context.rs:907
↓ 19 callersMethodreplace
dt.replace(year=?, month=?, day=?, hour=?, minute=?, second=?, microsecond=?, tzinfo=?)
crates/dbt-jinja/minijinja-contrib/src/modules/py_datetime/datetime.rs:915
↓ 19 callersFunctionstrip_resource_paths_from_ref_path
Strip resource paths from the beginning of a reference path This function tries to find which resource path is a prefix of the ref_path and returns th
crates/dbt-parser/src/dbt_project_config.rs:446
↓ 19 callersMethodupdate
Update the map with the contents of another map.
crates/dbt-jinja/minijinja/src/value/object.rs:1550
↓ 19 callersMethodwith_parse_uri
Parse and use the provided URI ([`Self::uri`]). Returns an error when parsing fails.
crates/dbt-xdbc/src/database/builder.rs:250
↓ 19 callersMethodwith_source
Attaches another error as source to this error.
crates/dbt-jinja/minijinja/src/error.rs:278
↓ 19 callersMethodwrite_u64
(&mut self, i: u64)
crates/dbt-agate/src/hashers.rs:407
↓ 18 callersMethodbind
(&mut self, batch: RecordBatch)
crates/dbt-xdbc/src/statement.rs:151
↓ 18 callersMethodbuild
Build the context map.
crates/dbt-loader/tests/macro_test_harness/mod.rs:368
↓ 18 callersMethodcall_method
( self: &Arc<Self>, _state: &State, name: &str, args: &[Value], _liste
crates/dbt-agate/src/table.rs:972
↓ 18 callersMethodchrono_dt
"chrono_dt" is a helper method that returns a naive DateTime if we're naive, or the local datetime if we're aware. This is mostly for read-only field
crates/dbt-jinja/minijinja-contrib/src/modules/py_datetime/datetime.rs:655
↓ 18 callersMethodcolumn_names
(&self)
crates/dbt-agate/src/table.rs:141
↓ 18 callersMethodemit_flat_col
Push a flat column to the new fields and columns.
crates/dbt-agate/src/flat_record_batch.rs:86
↓ 18 callersMethodenumerate
(self: &Arc<Self>)
crates/dbt-jinja/minijinja/src/value/mod.rs:1009
↓ 18 callersFunctionescape_str
Small helpers for safely composing inline-string SQL from request inputs. Phase 2a uses string-interpolated SQL. The DuckDB instance is in-memory and
crates/dbt-docs-server/src/handlers/sql.rs:9
↓ 18 callersMethodextensions_mut
(&self)
crates/dbt-common/src/tracing/span_info.rs:35
↓ 18 callersFunctionextract_resource_config_from_raw_project
Extracts a resource type subtree from a raw `dbt_project.yml` into a RawProjectConfig struct for building unrendered configs.
crates/dbt-parser/src/utils.rs:602
↓ 18 callersMethodformat
(&self)
crates/dbt-jinja/minijinja-cli/src/config.rs:208
↓ 18 callersFunctionget_node_fqn
generate the fqn
crates/dbt-parser/src/utils.rs:132
↓ 18 callersFunctiongranularity_rank
(gran: &str)
crates/dbt-metricflow/src/lib.rs:1877
↓ 18 callersMethodidentifier_as_str
Identifiers as string or error
crates/dbt-schemas/src/schemas/relations/base.rs:251
↓ 18 callersMethodinto_iter
(self)
crates/dbt-xdbc/src/database/builder.rs:344
↓ 18 callersMethodinto_value
(self)
crates/dbt-adapter/src/relation/relation_object.rs:54
↓ 18 callersFunctionmake_recorded_event
( node_id: &str, method: &str, args: serde_json::Value, )
crates/dbt-adapter/src/time_machine/validation.rs:775
↓ 18 callersMethodmatch_
(&mut self, pat: Token<'source>)
crates/dbt-adapter-sql/src/types/mod.rs:1984
↓ 18 callersMethodobserved_calls
Acquire the lock on recorded calls and return a guard wrapper. The returned [`ObservedCalls`] holds the mutex and dereferences to `[JinjaCall]`, so a
crates/dbt-jinja-utils/src/mock_object.rs:114
↓ 18 callersFunctionparse_single_selector
(raw: &str)
crates/dbt-common/src/node_selector.rs:390
↓ 18 callersFunctionparse_type
( s: &str, registry: Arc<DashMap<String, Type>>, )
crates/dbt-jinja/minijinja/src/types/funcsign_parser.rs:617
← previousnext →401–500 of 15,474, ranked by callers