apache / apache/arrow

[Gandiva] How to support overflow check and throw an exception in LLVM?

Open
#13,870 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 18h
Merged PRs (30d)
91

Description

I deduce gandiva does not support overflow check from the following pic. Will it support that in the future? Besides, does somebody know how to detect overflow using LLVM api if not using function?

图片

Besides, will decimal arith functions be supported in gandiva?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing Gandiva's current arithmetic support and the LLVM APIs related to overflow detection and exception handling. The issue names no files or tests; scope would need to be clarified for overflow checking, exception behavior, and decimal arithmetic before implementation and validation can be defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.