opensearch-project / opensearch-project/sql

[FEATURE] Type Conversion - Leverage RelDataType from Calcite in V3 engine.

Open
#4,636 0 comments 0 reactions 1 assignee View on GitHub

@yuancu is already working on this.

Since Nov 6, 2025.

enhancement PPL
Dominant language
Java
Stars
176
Forks
229
Avg merge
2d 21h
Merged PRs (30d)
43

Description

Is your feature request related to a problem?
Currently. V3 engine Type Coercion depend on ExprCoreType used in V2, and the Type Coerciion logic does not support all TypeChecker.

What solution would you like?
Leverage Calcite RelDataType and TypeCoercionImpl logic.

What alternatives have you considered?
Customize TypeCoercion logic for RexNode.

Do you have any additional context?
n/a

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.