Omega359 commented on issue #10744: URL: https://github.com/apache/datafusion/issues/10744#issuecomment-2143595916
> > We can have functions-postgres, functions-duckdb and functions-spark > > Most of the function has the same behavior in different db, we can also implement different functions in one crate `functions`, but we register the expected functions based on the DB we want to mimic. Instead of having a `default function` for datafusion SQL workflow, we can have `spark_functions`, and `postgres_functions` that register different `to_timestamp` functions based on the configuration we set. @andygrove are there udf's already in the comet project that handle spark specific behaviour? If so is that a separate project or embedded in comet currently? (I haven't looked at that codebase myself since the initial drop) -- 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