We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48851f1 commit cae01ceCopy full SHA for cae01ce
tensorzero-core/src/endpoints/feedback.rs
@@ -476,7 +476,11 @@ async fn get_function_name(
476
MetricConfigLevel::Episode => "episode_id_uint",
477
};
478
let query = format!(
479
- "SELECT function_name FROM {table_name} FINAL WHERE {identifier_key} = toUInt128(toUUID('{target_id}'))"
+ "SELECT function_name
480
+ FROM {table_name}
481
+ WHERE {identifier_key} = toUInt128(toUUID('{target_id}'))
482
+ LIMIT 1
483
+ SETTINGS max_threads=1"
484
);
485
let function_name = connection_info
486
.run_query_synchronous_no_params(query)
0 commit comments