Skip to content

Commit

Permalink
[8.x] Fix incorrectly generated code (elastic#205236) (elastic#205241)
Browse files Browse the repository at this point in the history
# Backport

This will backport the following commits from `main` to `8.x`:
- [Fix incorrectly generated code
(elastic#205236)](elastic#205236)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Gerard
Soldevila","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-30T10:32:25Z","message":"Fix
incorrectly generated code (elastic#205236)\n\n## Summary\r\n\r\nFix build
issues
on\r\nhttps://buildkite.com/elastic/kibana-es-ql-grammar-sync/builds/73","sha":"78a53cb9448e72dacb7f3707e417b5580150b943","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","v9.0.0","backport:prev-minor","Team:ESQL"],"title":"Fix
incorrectly generated
code","number":205236,"url":"https://github.com/elastic/kibana/pull/205236","mergeCommit":{"message":"Fix
incorrectly generated code (elastic#205236)\n\n## Summary\r\n\r\nFix build
issues
on\r\nhttps://buildkite.com/elastic/kibana-es-ql-grammar-sync/builds/73","sha":"78a53cb9448e72dacb7f3707e417b5580150b943"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205236","number":205236,"mergeCommit":{"message":"Fix
incorrectly generated code (elastic#205236)\n\n## Summary\r\n\r\nFix build
issues
on\r\nhttps://buildkite.com/elastic/kibana-es-ql-grammar-sync/builds/73","sha":"78a53cb9448e72dacb7f3707e417b5580150b943"}}]}]
BACKPORT-->

Co-authored-by: Gerard Soldevila <[email protected]>
  • Loading branch information
kibanamachine and gsoldevila authored Dec 30, 2024
1 parent 5d84355 commit 5cfc6b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ import type { FunctionDefinition } from '../types';
${
functionsType === 'scalar'
? `import type { ESQLFunction } from '@kbn/esql-ast';
import { isLiteralItem } from '../../../../../shared/helpers';`
import { isLiteralItem } from '../../shared/helpers';`
: ''
}
Expand Down

0 comments on commit 5cfc6b5

Please sign in to comment.