Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support IntegralDivide function #1422

Open
wForget opened this issue Feb 19, 2025 · 0 comments · May be fixed by #1428
Open

Support IntegralDivide function #1422

wForget opened this issue Feb 19, 2025 · 0 comments · May be fixed by #1428
Labels
enhancement New feature or request

Comments

@wForget
Copy link
Member

wForget commented Feb 19, 2025

What is the problem the feature request solves?

While analyzing #1412, I found that spark IntegralDivide function is not yet supported. After #1412 is resolved, I want to try to implement it.

Describe the potential solution

No response

Additional context

unit test like:

  test("test integral divide") {
    withTable("t1") {
      sql(s"create table t1(c1 long, c2 int) using parquet")
      sql(s"insert into t1 values(${Long.MinValue}, -1), (10, 0), (52, 10)")
      checkSparkAnswerAndOperator("select c1 div c2 from t1 order by c1")
    }
  }
@wForget wForget added the enhancement New feature or request label Feb 19, 2025
@wForget wForget linked a pull request Feb 20, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant