Skip to content

Commit 3f3d9a4

Browse files
committed
chore(cubesql): Add comment about async generate_sql_for_expr
1 parent 9c2c882 commit 3f3d9a4

File tree

1 file changed

+2
-0
lines changed
  • rust/cubesql/cubesql/src/compile/engine/df

1 file changed

+2
-0
lines changed

rust/cubesql/cubesql/src/compile/engine/df/wrapper.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,6 +1406,8 @@ impl CubeScanWrapperNode {
14061406
.map_err(|e| DataFusionError::Internal(format!("Can't generate SQL for type: {}", e)))
14071407
}
14081408

1409+
/// This function is async to be able to call to JS land,
1410+
/// in case some SQL generation could not be done through Jinja
14091411
pub fn generate_sql_for_expr<'ctx>(
14101412
plan: Arc<Self>,
14111413
mut sql_query: SqlQuery,

0 commit comments

Comments
 (0)