Skip to content

Commit 6f3c031

Browse files
authored
fix(backend-native): Respect isDataQuery flag in cubesql endpoint (cube-js#10774)
Signed-off-by: Alex Qyoun-ae <4062971+MazterQyou@users.noreply.github.com>
1 parent 5d571d4 commit 6f3c031

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cubejs-backend-native/src/node_export.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ async fn handle_sql_query(
446446
},
447447
"apiType": "sql",
448448
"duration": span_id.as_ref().unwrap().duration(),
449-
"isDataQuery": true
449+
"isDataQuery": span_id.as_ref().unwrap().is_data_query().await,
450450
}),
451451
)
452452
.await?;

0 commit comments

Comments
 (0)