arrow_graph/sql/extension.rs
1use datafusion::execution::context::SessionContext;
2use crate::error::Result;
3
4pub struct GraphSqlExtension;
5
6impl GraphSqlExtension {
7 pub fn new() -> Self {
8 Self
9 }
10
11 pub fn register_functions(&self, ctx: &mut SessionContext) -> Result<()> {
12 todo!("Register all graph SQL functions with DataFusion context")
13 }
14}
15
16impl Default for GraphSqlExtension {
17 fn default() -> Self {
18 Self::new()
19 }
20}