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 new 8.0 functions #4099

derekperkins opened this issue Jul 24, 2018 · 0 comments

Support new 8.0 functions #4099

derekperkins opened this issue Jul 24, 2018 · 0 comments


Copy link

@derekperkins derekperkins commented Jul 24, 2018


  • JSON_TABLE(expr, path COLUMNS column_list) [AS] alias)
  • Added the ->> (inline path) operator, which is equivalent to calling JSON_UNQUOTE() on the result of JSON_EXTRACT()
  • JSON_ARRAYAGG(col_or_expr)
  • JSON_OBJECTAGG(key, value)
  • JSON_PRETTY(json_val)
  • JSON_STORAGE_SIZE(json_val)
  • JSON_STORAGE_FREE(json_val)
  • JSON_MERGE_PATCH(json_doc, json_doc[, json_doc] ...)
  • JSON_MERGE() function has been renamed JSON_MERGE_PRESERVE(). JSON_MERGE() continues to be recognized as an alias for JSON_MERGE_PRESERVE()
  • Added support in MySQL 8.0.2 for ranges such as $[1 to 5] in XPath expressions. Also added support in this version for the last keyword and relative addressing, such that $[last] always selects the last (highest-numbered) element in the array and $[last-1] the next to last element. last and expressions using it can also be included in range definitions; for example, $[last-2 to last-1] returns the last two elements but one from an array.


  • CUME_DIST() over_clause
  • DENSE_RANK() over_clause
  • FIRST_VALUE(expr) [null_treatment] over_clause
  • LAG(expr [, N[, default]]) [null_treatment] over_clause
  • LAST_VALUE(expr) [null_treatment] over_clause
  • LEAD(expr [, N[, default]]) [null_treatment] over_clause
  • NTH_VALUE(expr, N) [from_first_last] [null_treatment] over_clause
  • NTILE(N) over_clause
  • PERCENT_RANK() over_clause
  • RANK() over_clause
  • ROW_NUMBER() over_clause

Regular Expressions

  • REGEXP_INSTR(expr, pat[, pos[, occurrence[, return_option[, match_type]]]])
  • REGEXP_LIKE(expr, pat[, match_type])
  • REGEXP_REPLACE(expr, pat, repl[, pos[, occurrence[, match_type]]])
  • REGEXP_SUBSTR(expr, pat[, pos[, occurrence[, match_type]]])

WITH Syntax (Common Table Expressions)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants