Following [datafusion PR #4221](https://github.com/apache/datafusion/pull/4221) the same functionality could be exposed to the python binding