Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ES|QL] remove chrono literals #186536

Merged
merged 3 commits into from
Jul 10, 2024
Merged

Conversation

drewdaemon
Copy link
Contributor

@drewdaemon drewdaemon commented Jun 20, 2024

Summary

The "chrono-literals" can be replaced with the simpler system of literalOptions. This is better because it moves us toward having one way to do things and removing Kibana-specific types which don't actually exist in ES|QL and, therefore, can be confusing.

@drewdaemon
Copy link
Contributor Author

/ci

@drewdaemon drewdaemon added Feature:ES|QL ES|QL related features in Kibana Team:ESQL ES|QL related features in Kibana release_note:skip Skip the PR/issue when compiling release notes v8.16.0 labels Jul 8, 2024
@drewdaemon
Copy link
Contributor Author

/ci

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
kbnUiSharedDeps-srcJs 3.2MB 3.2MB +392.0B

@drewdaemon drewdaemon marked this pull request as ready for review July 10, 2024 03:33
@drewdaemon drewdaemon requested a review from a team as a code owner July 10, 2024 03:33
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-esql (Team:ESQL)

@elastic elastic deleted a comment from kibana-ci Jul 10, 2024
Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, just a code repetition comment

optional: false,
literalOptions: [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we repeating them here and not adding them to a common place that can be reused?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean define an array and reuse it between the generator script and the file it generates (this file)?

Copy link
Contributor

@stratoula stratoula Jul 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ja!! (to change only in one place)

@drewdaemon drewdaemon merged commit a0b018b into elastic:main Jul 10, 2024
21 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:ES|QL ES|QL related features in Kibana release_note:skip Skip the PR/issue when compiling release notes Team:ESQL ES|QL related features in Kibana v8.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants