Skip to content

Commit 0126dc9

Browse files
goffrieConvex, Inc.
authored andcommitted
Get rid of TableNamespace::TODO() (#42990)
GitOrigin-RevId: 61760db83b4ffbabcc6a6729bd13e43083cae62b
1 parent 93422a0 commit 0126dc9

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

crates/isolate/src/isolate2/runner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ pub async fn run_isolate_v2_udf<RT: Runtime>(
10421042
let total_timeout = Duration::from_secs(128);
10431043

10441044
// TODO: Move these into the timeout.
1045-
let udf_config = UdfConfigModel::new(&mut tx, TableNamespace::TODO())
1045+
let udf_config = UdfConfigModel::new(&mut tx, path_and_args.path().component.into())
10461046
.get()
10471047
.await?;
10481048
let import_time_seed = SeedData {

crates/value/src/table_mapping.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,6 @@ impl TableNamespace {
5353
pub const fn by_component_TODO() -> Self {
5454
Self::Global
5555
}
56-
57-
/// Namespace that should be passed down, and could be Global, ByComponent,
58-
/// or ByComponentDefinition.
59-
#[allow(non_snake_case)]
60-
pub const fn TODO() -> Self {
61-
Self::Global
62-
}
6356
}
6457

6558
// This TableMapping contains the mapping between TableNames and

0 commit comments

Comments
 (0)