comphead commented on PR #13683: URL: https://github.com/apache/datafusion/pull/13683#issuecomment-2542834627
> Can we add config setting in `SessionConfig` to tune the result of function after #13519 is done? > > Something like `returns_null_if_contains_null`, `ignore_nulls`, `convert_null_to_value` and so on. (These should be dialect-agnostic) > > If `returns_null_if_contains_null` is true, we can have the Spark result of `array_has`, otherwise we have Postgres/DuckDB result. That sounds reasonable but those discrepancies tends to grow so maintain those params could be unbearable. My feeling we should follow some standard whatever it is, but one and the idea of extensibility is awesome so users can implements their own behavior -- 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