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

Add support for extended TRIM function grammar #4347

Closed
Tracked by #8604
theodesp opened this issue Nov 7, 2018 · 0 comments · Fixed by #9834
Closed
Tracked by #8604

Add support for extended TRIM function grammar #4347

theodesp opened this issue Nov 7, 2018 · 0 comments · Fixed by #9834

Comments

@theodesp
Copy link

theodesp commented Nov 7, 2018

Feature Description

We would like to utilize the TRIM grammar as defined in MySQL
https://dev.mysql.com/doc/refman/5.7/en/string-functions.html#function_trim

Currently, I can only use the basic version of TRIM and I couldn't find anything in the yacc file
https://github.com/vitessio/vitess/blob/a78587406b25f795429740f5426695681fc252ad/go/vt/sqlparser/sql.y

Use Case(s)

In relevance to implementing the Trim function in https://github.com/src-d/go-mysql-server we are using Vitess to parse the SQL rules.

@theodesp theodesp changed the title Add support for extended TRIM function gramar Add support for extended TRIM function grammar Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants