Skip to content

Commit 8ac3105

Browse files
fix: query for datasets api (#1261)
1 parent 77ae28e commit 8ac3105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/prism/logstream/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ impl PrismDatasetRequest {
336336
field: &str,
337337
) -> Result<Vec<String>, QueryError> {
338338
let query = Query {
339-
query: format!("SELECT DISTINCT({field}) FOR {stream_name}"),
339+
query: format!("SELECT DISTINCT({field}) FROM {stream_name}"),
340340
start_time: "1h".to_owned(),
341341
end_time: "now".to_owned(),
342342
send_null: false,

0 commit comments

Comments
 (0)