apache / apache/datafusion

Support string to numeric coercion

Open
#23,041 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

### Is your feature request related to a problem or challenge?

Queries such as `select 1 + "1";` should be supported by datafusion, but currently are not supported (expressions have incompatible types).

### Describe the solution you'd like

_No response_

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests, so start by tracing DataFusion's expression type compatibility for the query `select 1 + "1";`. Determine the intended string-to-numeric coercion behavior and add coverage showing that this query is accepted with the expected result.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sql
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.