inlong icon indicating copy to clipboard operation
inlong copied to clipboard

[Feature][SDK] Transform SQL support Fibonacci function

Open youzhi886 opened this issue 1 year ago • 0 comments

Description

parent issue [Umbrella] Tencent Rhino-bird: Expand InLong Transform functions #10796 definition of Fibonacci sequence: F(0) = 0 F(1) = 1 对于 n >= 2,F(n) = F(n-1) + F(n-2) F(2) = 1 (1 = 1 + 0) F(3) = 2 (2 = 1 + 1) F(4) = 3 (3 = 2 + 1) fibonacci(numeric)--returns the nth Fibonacci number examples: fibonacci(0) = 0 fibonacci(4) = 3

Use case

No response

Are you willing to submit PR?

  • [X] Yes, I am willing to submit a PR!

Code of Conduct

youzhi886 avatar Sep 03 '24 05:09 youzhi886