-
I rewrite a sql, want to use date_add function. right = new FunctionCall(QualifiedName.of("date_add"), List.of(new Identifier("second"), param, right)); this can't work. How to use this function. |
Beta Was this translation helpful? Give feedback.
Answered by
wodejiong
Sep 3, 2024
Replies: 1 comment
-
need to use StringLiteral. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hashhar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
need to use StringLiteral.
right = new FunctionCall(QualifiedName.of("date_add"), List.of(new StringLiteral("second"), param, right));