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

Added brackets in default value if column is of type TEXT, BLOB, GEOMETRY or JSON #9011

Merged
merged 3 commits into from
Oct 19, 2021

Conversation

ritwizsinha
Copy link
Contributor

@ritwizsinha ritwizsinha commented Oct 18, 2021

Description

Added brackets with default value if column is of type TEXT, BLOB, GEOMETRY or JSON

Related Issue(s)

Fixes #8982

Checklist

  • Should this PR be backported?
  • Tests were added or are not required
  • Documentation was added or is not required

Deployment Notes

…Y or JSON

Signed-off-by: ritwizsinha <ritwizsinha0@gmail.com>
go/vt/sqlparser/ast_format.go Outdated Show resolved Hide resolved
go/vt/sqlparser/ast_format.go Outdated Show resolved Hide resolved
Signed-off-by: ritwizsinha <ritwizsinha0@gmail.com>
@ritwizsinha ritwizsinha changed the title Added brackets in ast format if column is of type TEXT, BLOB, GEOMETRY or JSON Added brackets in default value if column is of type TEXT, BLOB, GEOMETRY or JSON Oct 18, 2021
go/vt/sqlparser/ast_funcs.go Outdated Show resolved Hide resolved
Signed-off-by: ritwizsinha <ritwizsinha0@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Query Serving Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't set default value for BLOB, TEXT, GEOMETRY or JSON column
2 participants