andygrove commented on issue #1365: URL: https://github.com/apache/datafusion-comet/issues/1365#issuecomment-2643838235
Thanks for looking at this @viczsaurav. Here is some sample code that may be useful while exploring this. ```rust #[tokio::test] async fn test() { let mut session_state = SessionStateBuilder::new().build(); session_state .register_udf( create_comet_physical_fun("xxhash64", DataType::Int64, &session_state).unwrap(), ) .unwrap(); let ctx = SessionContext::new_with_state(session_state); let df = ctx.sql("select xxhash64('hello', 42)").await.unwrap(); df.show().await.unwrap(); } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org