Skip to content

Add missing string functions (contains, instr, position, substring_index) #1450

Description

@timsaucer

Summary

A few string functions available in upstream DataFusion are not yet exposed in datafusion-python.

Missing Functions

  • contains — checks if a string contains a substring
  • instr — returns the position of a substring within a string
  • position — returns position of substring (SQL standard syntax)
  • substring_index — returns the substring before/after N occurrences of a delimiter

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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