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

SQL: tracker for missing scalar functions #30007

Closed
21 tasks done
elasticmachine opened this issue Apr 16, 2018 · 2 comments
Closed
21 tasks done

SQL: tracker for missing scalar functions #30007

elasticmachine opened this issue Apr 16, 2018 · 2 comments
Assignees
Labels

Comments

@elasticmachine
Copy link
Collaborator

elasticmachine commented Apr 16, 2018

Original comment by @costin:

This is a meta-issue for tracking the various missing functions missing according to SQL/ODBC/JDBC spec.

To keep things in sync across server and client, let's use the ODBC spec

The vast majority are implemented - are missing methods with two arguments and truncation, namely:

  • ATAN2
  • COT
  • MOD
  • POWER
  • ROUND( numeric_exp, integer_exp)
  • SIGN
  • TRUNCATE
  • System
    Outside IfNull, the rest are straight-forward.
  • DATABASE
  • IFNULL
  • USER

EXTRACT & co are implemented; date math, interval, current and name are missing:

  • CURRENT_DATE( )
  • CURRENT_TIME[( time-precision )]
  • CURRENT_TIMESTAMP
  • CURDATE()
  • CURTIME()
  • DAYNAME( date_exp )
  • MONTHNAME( date_exp )
  • NOW( )
  • QUARTER( )
  • TIMESTAMPADD
  • TIMESTAMPDIFF

The time math depends on LINK REDACTED .

@matriv
Copy link
Contributor

matriv commented Nov 7, 2019

@costin do you thing we should close this?

@matriv
Copy link
Contributor

matriv commented Apr 9, 2020

Closing this as all functions listed are implemented.

@matriv matriv closed this as completed Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants