Skip to content

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

@timsaucer

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.

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