MCPcopy Create free account

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

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

↓ 31 callersMethodset_span
Called when a span is set during typechecking.
crates/dbt-jinja/minijinja/src/vm/listeners.rs:85
↓ 30 callersMethodcompile_expr
Compiles an expression.
crates/dbt-jinja/minijinja/src/compiler/codegen.rs:1030
↓ 30 callersMethoddata_type
TODO: impl data_type - need to handle nested types https://github.com/dbt-labs/dbt-adapters/blob/6f2aae13e39c5df1c93e5d514678914142d71768/dbt-bigquery
crates/dbt-adapter/src/column/types.rs:965
↓ 30 callersFunctionget_str
(m: &'a yml::Mapping, k: &str)
crates/dbt-schemas/src/schemas/dbt_catalogs_v2.rs:207
↓ 30 callersMethodlen
(&self)
crates/dbt-jinja/minijinja/src/compiler/lexer.rs:84
↓ 30 callersFunctionparse
Parse a funcsign string into a function signature. # Arguments `s` - The funcsign string to parse. `registry` - The registry of types to use for par
crates/dbt-jinja/minijinja/src/types/funcsign_parser.rs:608
↓ 30 callersMethodregister
Register with explicit event type string.
crates/dbt-telemetry/src/attributes/registry.rs:360
↓ 30 callersMethodtemplate_from_str
Compile a template from a string.
crates/dbt-jinja-utils/src/jinja_environment.rs:176
↓ 30 callersFunctionto_jinja_btreemap
Convert a typed ctx struct into the `BTreeMap<String, Value>` shape that `JinjaEnvBuilder.with_globals` and today's per-render-ctx callers (`dbt-parse
crates/dbt-jinja-ctx/src/register.rs:61
↓ 30 callersMethodtruncate
(&mut self, n: usize)
crates/dbt-jinja/minijinja/src/vm/typemeta.rs:387
↓ 29 callersMethodas_any
(&self)
crates/dbt-tasks-sa/src/context.rs:19
↓ 29 callersFunctionconfig_from_yaml
(yaml: &str)
crates/dbt-auth/src/duckdb/init.rs:417
↓ 29 callersMethodexpand_span
(&self, mut span: Span)
crates/dbt-jinja/minijinja/src/compiler/parser.rs:200
↓ 29 callersMethodextension
See [Path::extension] for documentation.
crates/dbt-common/src/path.rs:117
↓ 29 callersFunctionmetadata
Wrapper around [`std::fs::metadata`] that returns a useful error in case of failure.
crates/dbt-common/src/stdfs.rs:60
↓ 29 callersMethodname
(&self)
crates/dbt-tasks-sa/src/renderable/renderable/unit_test.rs:677
↓ 29 callersFunctionparse_view_and_validate
(yaml: &str)
crates/dbt-schemas/src/schemas/dbt_catalogs.rs:1437
↓ 29 callersFunctionprint
(message: impl AsRef<str>)
crates/dbt-common/src/tracing/emit.rs:717
↓ 29 callersFunctionskip_ws
(s: &str, mut i: usize)
crates/dbt-adapter/src/sql/diff.rs:1367
↓ 29 callersMethodtemplate_from_str
Loads a template from a string, with name `<string>`. This is a shortcut to [`template_from_named_str`](Self::template_from_named_str) with name set
crates/dbt-jinja/minijinja/src/environment.rs:500
↓ 29 callersMethodwith_metadata
(mut self, metadata: impl Into<Option<BTreeMap<String, String>>>)
crates/dbt-adapter/src/relation/relation_impl.rs:362
↓ 29 callersMethodwith_relation_type
(mut self, relation_type: impl Into<Option<RelationType>>)
crates/dbt-adapter/src/relation/relation_impl.rs:342
↓ 28 callersMethodborrow_tlocal_connection
Borrow the current thread-local connection or create one if it's not set yet. A guard is returned. When destroyed, the guard returns the connection t
crates/dbt-adapter/src/adapter/adapter_impl.rs:566
↓ 28 callersFunctioncfqn
(cat: &str, schema: &str, table: &str)
crates/dbt-schema-store/tests/schema_store_contract.rs:28
↓ 28 callersFunctiondiff_paths
Wrapper around [`pathdiff::diff_paths`] that returns a useful error in case of failure.
crates/dbt-common/src/stdfs.rs:128
↓ 28 callersFunctionempty_args
Helper to get empty args for test calls
crates/dbt-adapter/src/time_machine/event_replay.rs:1193
↓ 28 callersMethodempty_state
Returns an empty [`State`] for testing purposes and similar.
crates/dbt-jinja/minijinja/src/environment.rs:895
↓ 28 callersMethodengine
(&self)
crates/dbt-adapter/src/adapter/adapter_impl.rs:4620
↓ 28 callersMethodinsert
( &mut self, path: &[Part], type_: Type, listener: Rc<dyn TypecheckingEventLis
crates/dbt-jinja/minijinja/src/vm/typemeta.rs:160
↓ 28 callersFunctionrender_sql
( sql: &str, env: &JinjaEnv, ctx: &BTreeMap<String, Value>, listener_factory: &dyn RenderingEv
crates/dbt-jinja-utils/src/utils.rs:286
↓ 28 callersMethodrun
( &self, relations: Arc<Vec<Arc<dyn BaseRelation>>>, unique_id: Option<String>,
crates/dbt-adapter/src/metadata/redshift/mod.rs:188
↓ 28 callersFunctionschedule_test_graph
Helper function to schedule a test graph with selection
crates/dbt-scheduler/src/schedule.rs:1418
↓ 27 callersMethodbuild
(&self, field: &FieldRef, type_ops: &dyn TypeOps)
crates/dbt-adapter/src/column/column_builder.rs:23
↓ 27 callersMethodcall_method
( self: &Arc<Self>, _state: &State, name: &str, args: &[Value], _liste
crates/dbt-agate/src/lib.rs:263
↓ 27 callersMethodcolumns
(self: &Arc<Self>)
crates/dbt-agate/src/table.rs:133
↓ 27 callersMethodenv
(&self)
crates/dbt-jinja/minijinja/src/vm/state.rs:159
↓ 27 callersFunctionextract_str_list
Extract a `List<Utf8>` column's first row into a `Vec<String>`. Returns `[]` for any of: missing column, empty batch, null cell, or non-string child a
crates/dbt-docs-server/src/handlers/node_base.rs:80
↓ 27 callersFunctionfind_files_by_kind_and_extension
( in_dir: &Path, project_name: &str, path_kind: &ResourcePathKind, extensions: &[&str], al
crates/dbt-loader/src/loader.rs:1133
↓ 27 callersFunctiongenerate_duckdb_init_sql
Generate DuckDB initialization SQL statements from the adapter config. Returns an ordered list of SQL strings ready for sequential execution. When th
crates/dbt-auth/src/duckdb/init.rs:120
↓ 27 callersMethodget
Get a value from the tuple by index.
crates/dbt-agate/src/lib.rs:94
↓ 27 callersMethodinner_adapter
(&self)
crates/dbt-adapter/src/adapter/adapter_impl.rs:4596
↓ 27 callersMethodkind
Returns the error kind
crates/dbt-jinja/minijinja/src/error.rs:284
↓ 27 callersMethodlen
Returns the length of the contained value. Values without a length will return `None`. ``` # use minijinja::value::Value; let seq = Value::from(vec!
crates/dbt-jinja/minijinja/src/value/mod.rs:1306
↓ 27 callersFunctionmissing
(field: &str)
crates/dbt-schemas/src/schemas/profiles.rs:1747
↓ 27 callersFunctionnever_cancels
Creates a cancellation token that never cancels. Useful in tests and as a escape hatch when cancellation tokens haven't been passed through call chai
crates/dbt-base/src/cancel.rs:281
↓ 27 callersFunctionpath_config_for_package
Returns the path config that owns a manifest node's resource paths. Manifest `path` conformance is package-relative: dependency resources must be nor
crates/dbt-schemas/src/schemas/manifest/manifest.rs:409
↓ 27 callersMethodquery
Execute a query and get results in an [AgateTable].
crates/dbt-adapter/src/adapter/adapter_impl.rs:783
↓ 27 callersFunctionreplace
( _state: &State, v: Cow<'_, str>, from: Cow<'_, str>, to: Cow<'_, str>,
crates/dbt-jinja/minijinja/src/filters.rs:374
↓ 27 callersFunctions0
Helper: read an Utf8 cell at row 0 by name, returning `None` for missing columns or null cells.
crates/dbt-docs-server/src/handlers/tests.rs:171
↓ 27 callersMethodspan
Returns the line number where the error occurred.
crates/dbt-jinja/minijinja/src/error.rs:343
↓ 27 callersMethodspan
(&self, (start_line, start_col, start_offset): (u32, u32, u32))
crates/dbt-jinja/minijinja/src/compiler/lexer.rs:443
↓ 26 callersMethoddecode
Decodes records from `input` returning the number of records and bytes read Note: this expects to be called with an empty `input` to signal EOF
crates/dbt-csv/src/reader/records.rs:275
↓ 26 callersFunctioninit_project_config
generate the project config that will be inherited throughout the project
crates/dbt-parser/src/dbt_project_config.rs:424
↓ 26 callersFunctioninto_typed_with_jinja
( io_args: &IoArgs, value: Value, should_render_secrets: bool, env: &JinjaEnv, ctx: &S,
crates/dbt-jinja-utils/src/serde.rs:177
↓ 26 callersFunctionjson_parse_or_null
Parse a JSON-string parquet column into a `serde_json::Value`, falling back to `Value::Null` on parse failure. JSON-string parquet columns (`meta`, `
crates/dbt-docs-server/src/handlers/json.rs:185
↓ 26 callersFunctionmaybe_apply_color
(style: &Style, value: &str, colorize: bool)
crates/dbt-common/src/tracing/formatters/color.rs:16
↓ 26 callersFunctionnode_id_from_state
(state: &State)
crates/dbt-adapter/src/query_ctx.rs:36
↓ 26 callersMethodparse
Parse from `std::env::args_os()`, [exit][Error::exit] on error.
crates/dbt-clap-core/src/lib.rs:168
↓ 26 callersMethodrequire_str
Like `require`, but returns a borrowed string.
crates/dbt-auth/src/config.rs:78
↓ 26 callersFunctionresponse_body
(response: Response)
crates/dbt-docs-server/src/handlers/search_tests.rs:251
↓ 26 callersFunctionsanitize_git_url
Sanitizes username/password segments from git urls e.g. https://username:password@github.com/dbt-labs/secret-project becomes https://github.com/dbt-la
crates/dbt-deps/src/utils.rs:218
↓ 26 callersFunctiontypecheck_case
( source: &str, register_fn: fn(&mut BTreeMap<String, DynTypeObject>, &str, &str, &[&str]), )
crates/dbt-jinja/minijinja/tests/test_typecheck.rs:176
↓ 26 callersFunctionuri_value
(builder: &database::Builder)
crates/dbt-auth/src/test_options.rs:22
↓ 26 callersMethodwith_username
(&mut self, username: impl AsRef<str>)
crates/dbt-xdbc/src/database/builder.rs:258
↓ 26 callersMethodwrite
(&self, backend: AdapterType, out: &mut String)
crates/dbt-adapter-sql/src/types/mod.rs:47
↓ 25 callersMethodadapter_type
(&self)
crates/dbt-compilation/src/core.rs:464
↓ 25 callersMethodadd_filter
Adds a new filter function. Filter functions are functions that can be applied to values in templates. For details about filters have a look at [`Fi
crates/dbt-jinja/minijinja/src/environment.rs:807
↓ 25 callersMethodas_any
(&self)
crates/dbt-common/src/tracing/tests/mocks.rs:80
↓ 25 callersMethodas_any
(&self)
crates/dbt-schemas/src/schemas/nodes.rs:1150
↓ 25 callersMethodbuild_core_event_info
( &self, code: Option<&str>, name: Option<&str>, level: &str, msg: Str
crates/dbt-common/src/tracing/layers/json_compat_layer.rs:210
↓ 25 callersFunctionconfig_value
(get_env: &mut F, name: &'static str)
crates/dbt-run-cache/src/service_config.rs:307
↓ 25 callersFunctionemit_info_progress_message
( message: ProgressMessage, status_reporter: Option<&Arc<dyn StatusReporter + 'static>>, )
crates/dbt-common/src/tracing/emit.rs:689
↓ 25 callersFunctionemit_warn_log_from_fs_error
( warning: &FsError, status_reporter: Option<&Arc<dyn StatusReporter + 'static>>, )
crates/dbt-common/src/tracing/emit.rs:552
↓ 25 callersFunctionfile_with_contents
(contents: &str)
crates/dbt-jinja/minijinja-cli/tests/test_basic.rs:11
↓ 25 callersFunctionfile_with_contents_and_ext
(contents: X, ext: &str)
crates/dbt-jinja/minijinja-cli/tests/test_basic.rs:15
↓ 25 callersMethodfinish
(&self)
crates/dbt-agate/src/hashers.rs:410
↓ 25 callersMethodkeys
Return the keys as a Tuple.
crates/dbt-agate/src/lib.rs:458
↓ 25 callersMethodkind
(&self)
crates/dbt-error/src/adapter_errors.rs:197
↓ 25 callersFunctionprintln
(message: impl AsRef<str>)
crates/dbt-common/src/tracing/emit.rs:706
↓ 25 callersMethodquery_scalar
(&self, _sql: &str)
crates/dbt-docs-server/src/handlers/files_tests.rs:138
↓ 25 callersFunctionresolve
Resolve a dbt profile from `profiles.yml` in one call. Creates its own `ProfileEnvironment` internally. For callers that need to share the environmen
crates/dbt-profile/src/resolve.rs:122
↓ 25 callersMethodwrite_dbt_table
Write a `dbt.*` snapshot table from JSON Value rows. Auto-injects `ingested_at`. If `rows` is empty an empty parquet file with the correct schema is w
crates/dbt-index-core/src/parquet.rs:595
↓ 24 callersMethodas_any
(&self)
crates/dbt-adapter/src/adapter/mod.rs:124
↓ 24 callersMethodas_ref
(&self)
crates/dbt-frontend-common/src/named_reference.rs:40
↓ 24 callersMethodas_str
(&self, _adapter_type: AdapterType)
crates/dbt-schemas/src/schemas/relations/base.rs:54
↓ 24 callersFunctioncompile
( store: &mut impl MetricStore, spec: &SemanticQuerySpec, dialect: Dialect, )
crates/dbt-metricflow/src/lib.rs:3838
↓ 24 callersFunctionget_yaml_str
(map: &'a yml::Mapping, key: &str)
crates/dbt-adapter/src/catalog_relation/catalog_relation_v2.rs:266
↓ 24 callersMethodkey
(&self, task_id: &str, suffix: &str)
crates/dbt-run-cache/src/task_cache_redis.rs:195
↓ 24 callersMethodnext
(&mut self)
crates/dbt-frontend-common/src/expr/tokenize.rs:51
↓ 24 callersMethodset_line_from_span
Sets line from span.
crates/dbt-jinja/minijinja/src/compiler/codegen.rs:138
↓ 24 callersMethodwith_file
(self, file: Arc<PathBuf>)
crates/dbt-error/src/code_location.rs:185
↓ 24 callersMethodwith_quoting
(mut self, quoting: ResolvedQuoting)
crates/dbt-adapter/src/relation/relation_impl.rs:347
↓ 23 callersMethodargs
Returns the input arguments
crates/dbt-jinja/minijinja/src/cache_key.rs:37
↓ 23 callersMethodas_object
If the value is an object a reference to it is returned. The returned value is a reference to a type erased [`DynObject`]. For a specific type use [`
crates/dbt-jinja/minijinja/src/value/mod.rs:1290
↓ 23 callersMethodas_usize
If this is an i64 return it
crates/dbt-jinja/minijinja/src/value/mod.rs:1266
↓ 23 callersMethodconfig_block
(&self, platform: &str)
crates/dbt-schemas/src/schemas/dbt_catalogs_v2.rs:580
↓ 23 callersMethoddeserialize_any
(self, visitor: V)
crates/dbt-jinja/minijinja/src/value/deserialize.rs:173
↓ 23 callersFunctionfrom_model_config_and_catalogs_v2
( adapter_type: AdapterType, model: &Value, catalogs: Arc<DbtCatalogs>, )
crates/dbt-adapter/src/catalog_relation/catalog_relation_v2.rs:43
↓ 23 callersFunctionmake_datetime
(year: i32, month: u32, day: u32, hour: u32)
crates/dbt-tasks-sa/src/microbatch/mod.rs:340
↓ 23 callersFunctionread
Wrapper around [`std::fs::read`] that returns a useful error in case of failure.
crates/dbt-common/src/stdfs.rs:105
← previousnext →301–400 of 15,474, ranked by callers