grafana/pkg/expr/sql
Sam Jewell 4bd5f29e05
SQL Expressions: Allow more functions (#102011)
I used Cursor and Claude 3.7 thinking to expand the list of functions
we allow. Specifically I needed `abs`.

TODO: Check each of these in the official MySQL docs to ensure they
are all safe:
eg. this doc: https://dev.mysql.com/doc/refman/8.4/en/flow-control-functions.html#operator_case
2025-03-12 11:39:48 +00:00
..
db.go SQL Expressions: Re-implement feature using go-mysql-server (#99521) 2025-02-06 07:27:28 -05:00
db_test.go SQL Expressions: Improve response to frame conversion handling (#100625) 2025-02-14 17:21:08 +02:00
dummy_arm.go SQL Expressions: Re-implement feature using go-mysql-server (#99521) 2025-02-06 07:27:28 -05:00
frame_db.go SQL Expressions: Re-implement feature using go-mysql-server (#99521) 2025-02-06 07:27:28 -05:00
frame_db_conv.go SQL Expressions: Improve response to frame conversion handling (#100625) 2025-02-14 17:21:08 +02:00
frame_table.go SQL Expressions: Improve response to frame conversion handling (#100625) 2025-02-14 17:21:08 +02:00
parser.go SQL Expressions: Re-implement feature using go-mysql-server (#99521) 2025-02-06 07:27:28 -05:00
parser_allow.go SQL Expressions: Allow more functions (#102011) 2025-03-12 11:39:48 +00:00
parser_allow_test.go SQL Expressions: Add more SQLNodes and funcs to allow list (#100227) 2025-02-07 09:44:17 +00:00
parser_test.go SQL Expressions: Re-implement feature using go-mysql-server (#99521) 2025-02-06 07:27:28 -05:00