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

ESQL: remove time_zone request parameter #102767

Merged
merged 7 commits into from Nov 29, 2023
Merged

Conversation

bpintea
Copy link
Contributor

@bpintea bpintea commented Nov 29, 2023

This removes the parameter time_zone from the request. It's kept in the configuration and always initialized to UTC.

The parameter will be added back later with broader support for time zones.

Closes #102159.

This removes the parameter `time_zone` from the request. It's kept in
the configuration and always initialized to `UTC`.

The parameter will be added back later with broader support for time
zones.
@elasticsearchmachine
Copy link
Collaborator

Hi @bpintea, I've created a changelog YAML for you.

@bpintea bpintea marked this pull request as ready for review November 29, 2023 15:26
@elasticsearchmachine
Copy link
Collaborator

Hi @bpintea, I've updated the changelog YAML for you.

@elasticsearchmachine elasticsearchmachine added the Team:QL (Deprecated) Meta label for query languages team label Nov 29, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-ql (Team:QL)

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/elasticsearch-esql (:Query Languages/ES|QL)

@bpintea bpintea added >bug and removed >tech debt labels Nov 29, 2023
@elasticsearchmachine
Copy link
Collaborator

Hi @bpintea, I've updated the changelog YAML for you.

Copy link
Contributor

@astefan astefan left a comment

Choose a reason for hiding this comment

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

LGTM

@bpintea
Copy link
Contributor Author

bpintea commented Nov 29, 2023

Thanks, @nik9000, @astefan.

@bpintea bpintea merged commit 7dbf44a into elastic:main Nov 29, 2023
14 checks passed
@bpintea bpintea deleted the esql/del_time_zone branch November 29, 2023 17:07
@stratoula stratoula added the ES|QL-ui Impacts ES|QL UI label Nov 30, 2023
timgrein pushed a commit to timgrein/elasticsearch that referenced this pull request Nov 30, 2023
This removes the parameter `time_zone` from the request. It's kept in
the configuration and always initialized to `UTC`.

The parameter will be added back later with broader support for time
zones.
stratoula pushed a commit to elastic/kibana that referenced this pull request Nov 30, 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

- [ ] 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
- [ ] 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 to elastic/kibana 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
This was referenced Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL >bug ES|QL-ui Impacts ES|QL UI Team:QL (Deprecated) Meta label for query languages team v8.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ESQL: remove the partial time zone support
5 participants