Skip to content

Commit efdd413

Browse files
committed
chore(cubesql): Add comment about async generate_sql_for_expr
1 parent cd52399 commit efdd413

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
@@ -1214,6 +1214,8 @@ impl CubeScanWrapperNode {
12141214
.map_err(|e| DataFusionError::Internal(format!("Can't generate SQL for type: {}", e)))
12151215
}
12161216

1217+
/// This function is async to be able to call to JS land,
1218+
/// in case some SQL generation could not be done through Jinja
12171219
pub fn generate_sql_for_expr<'ctx>(
12181220
plan: Arc<Self>,
12191221
mut sql_query: SqlQuery,

0 commit comments

Comments
 (0)