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

Bug: date_add prettry format is err #16712

Open
TCeason opened this issue Oct 29, 2024 · 0 comments · May be fixed by #16767
Open

Bug: date_add prettry format is err #16712

TCeason opened this issue Oct 29, 2024 · 0 comments · May be fixed by #16767

Comments

@TCeason
Copy link
Collaborator

TCeason commented Oct 29, 2024

Prettry format is err:

:) select date_add('year', 1, now()); --BUG

SELECT DATE_ADD(YEAR, INTERVAL 1, now())
SELECT DATE_ADD(YEAR, INTERVAL 1, now())
error: APIError: ResponseError with 1005: error: 
  --> SQL:1:32
  |
1 | SELECT DATE_ADD(YEAR, INTERVAL 1, now())
  | ------ ---------               ^ unexpected `1`, expecting `)` or `,`
  | |      |       |                
  | |      |       while parsing `(<expr> [, ...])`
  | |      while parsing expression
  | while parsing `SELECT ...`

Originally posted by @TCeason in #16711 (comment)

@TCeason TCeason linked a pull request Nov 5, 2024 that will close this issue
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant