Skip to content

Add missing conditional functions (greatest, least, nvl2, ifnull) #1449

@timsaucer

Description

@timsaucer

Summary

Several commonly-used conditional functions from upstream DataFusion are not exposed in datafusion-python.

Missing Functions

  • greatest — returns the greatest value from a list of expressions
  • least — returns the least value from a list of expressions
  • nvl2 — returns one value if input is not null, another if it is null
  • ifnull — alias for nvl/coalesce

Upstream Reference

Implementation

  • Rust bindings: crates/core/src/functions.rs
  • Python wrappers: python/datafusion/functions.py

Note: This gap analysis was performed using an AI agent comparing upstream DataFusion v53 documentation against the current datafusion-python codebase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions