MCPcopy Create free account

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

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

↓ 98 callersFunctionget
Use dbt-core/Mantle semantics whenever possible: compare database/schema/alias using `unrendered_config`, treating missing keys as `None`.
crates/dbt-schemas/src/schemas/nodes.rs:1021
↓ 98 callersMethodget
Get a reference to the value associated with a key
crates/dbt-schemas/src/schemas/serde.rs:661
↓ 97 callersMethodto_string_lossy
Converts the identifier to a string losing any quoting information. This is bad because quoting governs how an identifier is interpreted regarding ca
crates/dbt-adapter-sql/src/ident.rs:72
↓ 96 callersMethodto_owned
(&self)
crates/dbt-adapter/src/relation/relation_impl.rs:565
↓ 95 callersMethodengine
(&self)
crates/dbt-adapter/src/adapter/mod.rs:282
↓ 95 callersMethodquery_arrow
(&self, _sql: &str)
crates/dbt-docs-server/src/handlers/nodes.rs:408
↓ 93 callersMethodclone
(&self)
crates/dbt-common/src/serde_utils.rs:148
↓ 93 callersMethodspan
Accesses the span.
crates/dbt-jinja/minijinja/src/compiler/ast.rs:32
↓ 92 callersMethodas_str
(&self)
crates/dbt-telemetry/src/impls/v1_public_events_fusion_compat.rs:6
↓ 91 callersMethodcontains
Check if the vector contains a value.
crates/dbt-jinja/minijinja/src/value/object.rs:1198
↓ 91 callersMethodis_undefined
Returns `true` if this value is undefined.
crates/dbt-jinja/minijinja/src/value/mod.rs:1232
↓ 90 callersFunctioninternal_error
(msg: String)
crates/dbt-docs-server/src/handlers/json.rs:143
↓ 90 callersMethodtake
(&self)
crates/dbt-adapter/src/connection.rs:561
↓ 89 callersMethodis_empty
(&self)
crates/dbt-jinja/minijinja/src/value/mod.rs:446
↓ 89 callersMethoditer
(&self)
crates/dbt-common/src/tracing/metrics.rs:72
↓ 87 callersMethodlen
(&self)
crates/dbt-schemas/src/schemas/serde.rs:674
↓ 84 callersMethodadd_edge
Add an edge to the graph
crates/dbt-scheduler/src/schedule.rs:1183
↓ 84 callersMethodget_str
Get a direct reference to a string value if it exists and is a string. This returns a borrow tied to the lifetime of the AdapterConfig itself.
crates/dbt-auth/src/config.rs:73
↓ 84 callersMethodpop
(&mut self)
crates/dbt-jinja/minijinja/src/vm/state.rs:480
↓ 84 callersMethodwarn
(&self, _message: &str)
crates/dbt-jinja/minijinja/src/vm/listeners.rs:80
↓ 83 callersFunctionstr_col
( batch: &'a arrow_array::RecordBatch, name: &str, )
crates/dbt-index-core/src/ingest/metadata_to_parquet.rs:356
↓ 83 callersMethodtry_iter
(self, value: Value)
crates/dbt-jinja/minijinja/src/utils.rs:183
↓ 82 callersMethodadd_template
(&mut self, name: &'source str, source: &'source str)
crates/dbt-jinja/minijinja/src/environment.rs:188
↓ 81 callersMethodfields
(&self)
crates/dbt-adapter/src/column/types.rs:1142
↓ 81 callersFunctionfrom_args
(values: &'a [Value])
crates/dbt-jinja/minijinja/src/value/argtypes.rs:94
↓ 81 callersMethodjoin
(&self, other: &SelectionType)
crates/dbt-scheduler/src/node_selector.rs:942
↓ 80 callersMethodname
(&self)
crates/dbt-adapter/src/column/types.rs:826
↓ 80 callersFunctionstring
(value: &Value)
crates/dbt-jinja/minijinja/src/filters.rs:1059
↓ 79 callersMethodappend
(&mut self, c: char)
crates/dbt-adapter/src/sql/tokenizer.rs:34
↓ 79 callersMethodenumerate
(self: &Arc<Self>)
crates/dbt-agate/src/lib.rs:255
↓ 79 callersMethodpush
(&mut self)
crates/dbt-jinja/minijinja/src/vm/state.rs:470
↓ 78 callersMethodas_ref
(&self)
crates/dbt-ident/src/lib.rs:225
↓ 78 callersFunctionf
def f(x, y, alpha=None, beta=None)
crates/dbt-jinja/minijinja/src/arg_utils.rs:1165
↓ 78 callersMethodget_mut
Returns a reference to the null writer.
crates/dbt-jinja/minijinja/src/output.rs:121
↓ 78 callersMethodget_template
Fetches a template by name with path joining. This works like [`Environment::get_template`] with the difference that the lookup undergoes path joinin
crates/dbt-jinja/minijinja/src/vm/state.rs:358
↓ 76 callersMethodsemantic_fqn
Get the semantic name fully qualified for a Relation A semantic name is meant to uniquely identify a relation agnostic of the literal values initiall
crates/dbt-schemas/src/schemas/relations/base.rs:421
↓ 75 callersMethodget
Get the raw JSON value for a key.
crates/dbt-adapter/src/time_machine/serializable.rs:181
↓ 75 callersMethodis_empty
(&self)
crates/dbt-common/src/path.rs:154
↓ 75 callersMethodlast
(&self)
crates/dbt-jinja/minijinja/src/vm/typemeta.rs:395
↓ 75 callersMethodto_ascii_lowercase
(&self)
crates/dbt-ident/src/lib.rs:136
↓ 74 callersMethodas_path
(&self)
crates/dbt-ident/src/lib.rs:148
↓ 73 callersMethodadapter_type
(&self)
crates/dbt-tasks-core/src/context.rs:232
↓ 73 callersFunctioncompare_sql
Compare two SQL strings using deviation and canonicalization checks before strict comparison, using adapter-specific canonicalization where applicable
crates/dbt-adapter/src/sql/diff.rs:12
↓ 73 callersFunctiondeserialize
(d: D)
crates/dbt-platform-auth/src/credential.rs:35
↓ 73 callersMethodpush
(&mut self, type_: impl Into<TypeWithConstraint>)
crates/dbt-jinja/minijinja/src/vm/typemeta.rs:383
↓ 72 callersMethodall
()
crates/dbt-common/src/warn_error_options/mod.rs:64
↓ 72 callersMethodas_str
(&self)
crates/dbt-tasks-core/src/span_manager.rs:100
↓ 72 callersFunctionnone_value
()
crates/dbt-adapter/src/value.rs:6
↓ 72 callersFunctionremove_file
Wrapper around [`std::fs::remove_file`] that returns a useful error in case of failure.
crates/dbt-common/src/stdfs.rs:66
↓ 71 callersMethodpush
(&mut self)
crates/dbt-jinja/minijinja/src/compiler/meta.rs:29
↓ 69 callersMethodis_empty
(&self)
crates/dbt-adapter/src/relation/config_v2.rs:511
↓ 68 callersMethoditer
(&self)
crates/dbt-scheduler/src/instructions.rs:23
↓ 67 callersMethoditer_mut
(&mut self)
crates/dbt-jinja/minijinja/src/vm/context.rs:159
↓ 66 callersMethodfor_each
Applies the given function to this error and all chained errors.
crates/dbt-error/src/types.rs:542
↓ 66 callersMethodmap
(&self, conn: &'_ mut dyn Connection, key: &K)
crates/dbt-xdbc/src/lib.rs:181
↓ 66 callersMethodsort
Sort candidates to match dbt Core's MaterializationCandidate.__lt__ method This sorting logic appears "backwards" but is intentional: Priority Rules
crates/dbt-schemas/src/materialization_resolver.rs:106
↓ 65 callersMethodpath
Path to `~/.dbt/user_settings.yml`, or `None` if the home directory can't be determined.
crates/dbt-schemas/src/schemas/user_settings.rs:14
↓ 63 callersMethodencode
Serialize to opaque base64.
crates/dbt-docs-server/src/handlers/pagination.rs:31
↓ 63 callersMethodis_none
Check if the type is none # Arguments `self` - The type to check if it is none
crates/dbt-jinja/minijinja/src/types/mod.rs:660
↓ 63 callersMethodkeys
(&self)
crates/dbt-metadata/src/file_registry.rs:82
↓ 62 callersMethodadapter_type
(&self)
crates/dbt-adapter/src/adapter/adapter_impl.rs:4607
↓ 62 callersMethodas_mut
Returns a mutable reference to the value if it is present.
crates/dbt-common/src/serde_utils.rs:336
↓ 62 callersMethodas_slice
(&self)
crates/dbt-xdbc/src/install.rs:408
↓ 62 callersMethodinsert
Insert a value at a given index, moving subsequent elements to the right.
crates/dbt-jinja/minijinja/src/value/object.rs:1171
↓ 61 callersMethodadd_global
Adds a global variable.
crates/dbt-jinja/minijinja/src/environment.rs:881
↓ 61 callersMethodend
(self)
crates/dbt-jinja/minijinja/src/value/serialize.rs:271
↓ 60 callersMethodas_ref
(&self)
crates/dbt-adapter-sql/src/ident.rs:36
↓ 60 callersMethodas_str
(self)
crates/dbt-docs-server/src/handlers/search.rs:88
↓ 60 callersMethodcount
Count the number of occurrences of a value in the tuple.
crates/dbt-agate/src/lib.rs:109
↓ 60 callersMethodread
(&self)
crates/dbt-common/src/lease.rs:79
↓ 60 callersFunctions
(s: &str)
crates/dbt-adapter/src/catalog_relation.rs:1657
↓ 59 callersMethodclone
(&self)
crates/dbt-xdbc/src/database.rs:136
↓ 59 callersMethodget
( &self, parts: &GitUrlParts, revision: &str, )
crates/dbt-deps/src/git_client/cache.rs:31
↓ 59 callersMethodname
Returns a reference to the inner string value.
crates/dbt-ident/src/lib.rs:103
↓ 58 callersMethodas_i64
If this is an i64 return it
crates/dbt-jinja/minijinja/src/value/mod.rs:1271
↓ 58 callersMethodcmp
O(n) zero-copy case-insensitive lexicographic comparison.
crates/dbt-ident/src/lib.rs:35
↓ 58 callersFunctionget_str
(col: Option<&arrow_array::StringArray>, i: usize)
crates/dbt-index-core/src/ingest/metadata_to_parquet.rs:411
↓ 57 callersMethodfinish
(&self)
crates/dbt-jinja/minijinja/src/arg_utils.rs:666
↓ 56 callersFunctioncreate_info_span
(attrs: impl Into<TelemetryAttributes>)
crates/dbt-common/src/tracing/emit.rs:275
↓ 56 callersMethodmock
Access the mock adapter.
crates/dbt-loader/tests/macro_test_harness/mod.rs:252
↓ 56 callersFunctionmodel
(adapter_type: AdapterType, config: serde_json::Value)
crates/dbt-adapter/src/catalog_relation.rs:1602
↓ 56 callersFunctionmodel_deprecated_config
(config: serde_json::Value)
crates/dbt-adapter/src/catalog_relation.rs:1631
↓ 56 callersMethodon
Register a response handler for a specific method name.
crates/dbt-jinja-utils/src/mock_object.rs:89
↓ 56 callersFunctionparse_and_validate
(yaml: &str)
crates/dbt-schemas/src/schemas/dbt_catalogs_v2.rs:1503
↓ 56 callersMethodquoting
(&self)
crates/dbt-adapter/src/adapter/adapter_impl.rs:4627
↓ 56 callersMethodschema
Returns the schema of the reader, useful for getting the schema without reading record batches
crates/dbt-csv/src/reader/mod.rs:429
↓ 55 callersMethodas_str
(&self)
crates/dbt-adapter-core/src/lib.rs:116
↓ 54 callersMethodcheck_cancellation
(&self)
crates/dbt-base/src/cancel.rs:255
↓ 54 callersMethodget_item
Looks up an item (or attribute) by key. This is similar to [`get_attr`](Self::get_attr) but instead of using a string key this can be any key. For i
crates/dbt-jinja/minijinja/src/value/mod.rs:1396
↓ 54 callersMethodis_empty
(&self)
crates/dbt-ident/src/lib.rs:119
↓ 54 callersMethoditer
(&self)
crates/dbt-agate/src/grouper.rs:50
↓ 54 callersMethodlen
Get the number of columns.
crates/dbt-csv/src/type_tester.rs:392
↓ 53 callersMethodmax
Get the number of available permits the semaphore started with.
crates/dbt-xdbc/src/semaphore.rs:107
↓ 52 callersFunctionemit_info_event
(attrs: impl Into<TelemetryAttributes>, message: Option<&str>)
crates/dbt-common/src/tracing/emit.rs:148
↓ 52 callersFunctionparse
Parses a template.
crates/dbt-jinja/minijinja/src/compiler/parser.rs:2061
↓ 52 callersMethodwrite
(self, status: &str)
crates/dbt-main/src/utils.rs:59
↓ 51 callersMethodwith_desc
(mut self, desc: impl Into<String>)
crates/dbt-xdbc/src/query_ctx.rs:47
↓ 49 callersMethodfinish
(self)
crates/dbt-xdbc/src/odbc.rs:566
↓ 49 callersMethodget_node
(&self, unique_id: &str)
crates/dbt-schemas/src/schemas/nodes.rs:3817
↓ 49 callersMethodmin
()
crates/dbt-jinja/minijinja-contrib/src/modules/py_datetime/timedelta.rs:36
← previousnext →101–200 of 15,474, ranked by callers