Skip to content

[ES|QL] Remove use of time_zone param in ES|QL requests#172220

Merged
stratoula merged 5 commits intoelastic:mainfrom
davismcphee:remove-esql-time-zone
Nov 30, 2023
Merged

[ES|QL] Remove use of time_zone param in ES|QL requests#172220
stratoula merged 5 commits intoelastic:mainfrom
davismcphee:remove-esql-time-zone

Conversation

@davismcphee
Copy link
Copy Markdown
Contributor

@davismcphee davismcphee commented Nov 29, 2023

Summary

Support for the time_zone request param was temporarily removed from ES|QL in elastic/elasticsearch#102767. This caused some of our tests to fail since we include the time_zone param in ES|QL requests in Kibana. This PR comments out the time_zone related code until support is reintroduced in ES|QL, and unskips the broken tests.

The followup work to uncomment the code when time_zone support is reintroduced to ES|QL will be done in #172221.

Resolves #172215.
Resolves #172213.
Resolves #172242.
Resolves #172243.
Resolves #172244.

Checklist

For maintainers

@davismcphee davismcphee added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:DataDiscovery Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t// v8.12.0 labels Nov 29, 2023
@davismcphee davismcphee self-assigned this Nov 29, 2023
@davismcphee davismcphee marked this pull request as ready for review November 29, 2023 23:59
@davismcphee davismcphee requested review from a team as code owners November 29, 2023 23:59
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@davismcphee davismcphee force-pushed the remove-esql-time-zone branch 2 times, most recently from acc715d to 9990c89 Compare November 30, 2023 01:46
@davismcphee davismcphee force-pushed the remove-esql-time-zone branch from b177904 to 797ab21 Compare November 30, 2023 01:52
@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

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
data 414.4KB 414.2KB -245.0B

History

  • 💛 Build #180270 was flaky d15cabb0ff3ba6445280279cf2ea706a7aa2b83c
  • 💔 Build #180261 failed b81afaaff85d071f6596229457a6632155654657

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @davismcphee

Copy link
Copy Markdown
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.

ES|QL changes LGTM, thanx Davis for catching this

Copy link
Copy Markdown
Contributor

@jughosta jughosta left a comment

Choose a reason for hiding this comment

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

Thanks, Davis!

@stratoula
Copy link
Copy Markdown
Contributor

I am merging because people are complaining that they cant use ESQL in main

@stratoula stratoula merged commit f89c6fd into elastic:main Nov 30, 2023
@davismcphee davismcphee deleted the remove-esql-time-zone branch November 30, 2023 15:28
davismcphee added a commit that referenced this pull request Nov 30, 2023
…2307)

## Summary

This PR unskips the remaining skipped tests that no longer fail after
the fix to ES|QL `time_zone` param in #172220.

Resolves #172247.
Resolves #172246.
Resolves #172248.

### Checklist

- [ ] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [ ]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
vitaliidm added a commit that referenced this pull request Dec 1, 2023
Tests were skipped in #172260 due
to errors related to ES API changes
elastic/elasticsearch#102767

Errors originated in DIscover component and have been fixed in
#172220
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment