[UI][UDF] can create udfs with reserved words as names
Description
Components
Affects versions
Fix versions
Environment
7.1.0-2500
Link to Log File, atop/blg, CBCollectInfo, Core dump
None
Release Notes Description
None
Attachments
4
Activity
Show:
Pierre Regazzoni July 18, 2022 at 6:15 PM
above issue on 7.2 was side effect of
Validated on 7.2.0-1644:
Pierre Regazzoni July 15, 2022 at 9:05 PM
on 7.2.0-1632, seeing some error:
Pierre Regazzoni July 15, 2022 at 9:00 PM
Verified on 7.1.2-3369
CB robot July 15, 2022 at 1:17 PM
Build couchbase-server-8.0.0-1054 contains query-ui commit 3705bfb with commit message:
: show up backticks in User-Defined Functions
Arunkumar Senthilnathan July 14, 2022 at 7:01 PM
please verify and close this
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Reporter
Ajay Pal Bhullar
Ajay Pal BhullarIs this a Regression?
No
Triage
Untriaged
Story Points
1
Priority
Minor
Instabug
Open Instabug
PagerDuty
PagerDuty Incident
PagerDuty Incident
Sentry
Linked Issues
Linked Issues
Zendesk Support
Linked Tickets
Linked Tickets
Created March 17, 2022 at 9:35 PM
Updated July 18, 2022 at 6:15 PM
Resolved July 13, 2022 at 9:34 AM
Instabug
In the UI udf tab it allows you to create functions using reserved words as names, even tho running the create function query itself doesnt allow this, and you cannot run the udf since it throws a reserved word error. Perhaps we should throw up a warning that it is a reserved word? or maybe in the UI tab we should show the function names with backticks? Right now it shows up as the reserved word alone, and if you try using it without backticks it won't work.