mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Remove last keyword from UI SQL parser config (#6362)
This commit is contained in:
parent
79bf51b03c
commit
b6a816fe52
2 changed files with 4 additions and 1 deletions
1
changes/issue-6289-fix-table-name-collision-UI
Normal file
1
changes/issue-6289-fix-table-name-collision-UI
Normal file
|
|
@ -0,0 +1 @@
|
|||
- Update UI SQL syntax highlighting to display `last` as an osquery table rather than keyword
|
||||
|
|
@ -25,8 +25,10 @@ ace.define(
|
|||
|
||||
var builtinConstants = "true|false";
|
||||
|
||||
// Note: `last` was removed from the list of built-in functions because it collides with the
|
||||
// `last` table available in osquery
|
||||
var builtinFunctions =
|
||||
"avg|count|first|last|max|min|sum|ucase|lcase|mid|len|round|rank|now|format|" +
|
||||
"avg|count|first|max|min|sum|ucase|lcase|mid|len|round|rank|now|format|" +
|
||||
"coalesce|ifnull|isnull|nvl";
|
||||
|
||||
var dataTypes =
|
||||
|
|
|
|||
Loading…
Reference in a new issue