You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Replaced by the first parameter when the template variable in the second parameter does not select every value. Replaced by 1=1 when the template variable selects every value',
93
93
example: 'condition or 1=1',
94
94
},
95
+
{
96
+
name: '$__adHocFilters',
97
+
isFunction: true,
98
+
documentation:
99
+
'Manually applies ad-hoc filters to a specific table. Useful for complex queries where automatic filter detection fails. Use in SETTINGS clause to specify the target table for ad-hoc filters',
100
+
example: "additional_table_filters={'table_name': 'column = \\'value\\' AND column2 = \\'value2\\'}",
Copy file name to clipboardExpand all lines: src/data/CHDatasource.ts
+27-1Lines changed: 27 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -248,7 +248,16 @@ export class Datasource
248
248
`Unable to apply ad hoc filters. Upgrade ClickHouse to >=${this.adHocCHVerReq.major}.${this.adHocCHVerReq.minor} or remove ad hoc filters for the dashboard.`
0 commit comments