MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / try_into_value

Method try_into_value

src/sql/src/plan/with_options.rs:53–58  ·  view source on GitHub ↗
(self, _catalog: &dyn SessionCatalog)

Source from the content-addressed store, hash-verified

51 }
52
53 fn try_into_value(self, _catalog: &dyn SessionCatalog) -> Option<WithOptionValue<Aug>> {
54 Some(WithOptionValue::Value(Value::String(match self {
55 IcebergCatalogType::Rest => "rest".to_string(),
56 IcebergCatalogType::S3TablesRest => "s3tablesrest".to_string(),
57 })))
58 }
59
60 fn name() -> String {
61 "iceberg catalog type".to_string()

Callers

nothing calls this directly

Calls 15

StringClass · 0.85
IdentClass · 0.85
UnresolvedItemNameClass · 0.85
unplan_intervalFunction · 0.85
ClusterReplicasClass · 0.85
expectMethod · 0.80
SecretClass · 0.70
ValueInterface · 0.50
ItemEnum · 0.50
ExprEnum · 0.50

Tested by

no test coverage detected