Skip to content

Commit fa9553b

Browse files
committed
remove esAggEntries check
1 parent 3a77fde commit fa9553b

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

x-pack/platform/plugins/shared/lens/public/datasources/form_based/generate_esql_query.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -111,19 +111,6 @@ export function generateEsqlQuery(
111111
}
112112
}
113113

114-
// Also check esAggEntries for unsupported features (in case columns differ)
115-
for (const [, col] of esAggEntries) {
116-
if (col.operationType === 'formula') {
117-
return getEsqlQueryFailedResult('formula_not_supported');
118-
}
119-
if (col.timeShift) {
120-
return getEsqlQueryFailedResult('time_shift_not_supported');
121-
}
122-
if ('sourceField' in col && indexPattern.getFieldByName(col.sourceField)?.runtime) {
123-
return getEsqlQueryFailedResult('runtime_field_not_supported');
124-
}
125-
}
126-
127114
// indexPattern.title is the actual ES pattern
128115
// Build query parts as strings, then combine with esql() for proper parameterization
129116
// ES|QL composer docs: src/platform/packages/shared/kbn-esql-language/src/composer/README.md

0 commit comments

Comments
 (0)