opensearch-project / dashboards-query-workbench Goto Github PK
View Code? Open in Web Editor NEWThe OpenSearch Dashboards Query Workbench enables you to query your OpenSearch data using either SQL or PPL
License: Apache License 2.0
The OpenSearch Dashboards Query Workbench enables you to query your OpenSearch data using either SQL or PPL
License: Apache License 2.0
Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/1.3.8/opensearch-dashboards-1.3.8.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/5407/consoleFull
@opensearch-ci-bot commented on Thu Jan 12 2023
Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/5360/consoleFull
@kavilla commented on Tue Jan 17 2023
Looks like the relative path change for build script. Workbench team should look in relative path.
What is the bug?
A call is being made to:
http://localhost:5601/api/spark_sql_console/job/undefined
Which is leading to:
{
"data": {
"ok": false,
"resp": "Bad Request",
"body": "{\n \"status\": 400,\n \"error\": {\n \"type\": \"IllegalArgumentException\",\n \"reason\": \"Invalid Request\",\n \"details\": \"Last unit does not have enough valid bits\"\n }\n}"
}
}
Is there something wrong with setup?
How can one reproduce the bug?
Steps to reproduce the behavior:
What is the expected behavior?
A clear and concise description of what you expected to happen.
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
As part of our continued efforts to improve OpenSearch Dashboards, we are planning to upgrade the underlying Node.js version from v14 to v18. This change will enhance performance, add new features, and bolster security. However, such major version changes might also affect the compatibility of existing plugins. Here is more introduction: opensearch-project/OpenSearch-Dashboards#3601.
Therefore, we kindly request assistance in testing this plugin the compatibility of with this new version of Node.js. We've prepared a branch with the Node.js v18 upgrade, which you can find here:
https://github.com/AMoo-Miki/OpenSearch-Dashboards/tree/node-18-webpack-4
We appreciate your support and cooperation in ensuring a smooth transition to Node.js v18 for the entire OpenSearch Dashboards community.
What is the bug?
Query workbench has problem with the highlight function results shown as screenshot below.
How can one reproduce the bug?
Steps to reproduce the behavior:
SELECT host, highlight(message) FROM opensearch_dashboards_sample_data_logs WHERE host = "www.opensearch.org" AND MATCH(message, "GET 503 Linux", operator="AND");
highlight(message)
columnWhat is the expected behavior?
Query workbench should be able to show the full result and even render the HTML <em>
tag:
POST _plugins/_sql
{
"query": """
SELECT host, highlight(message) FROM opensearch_dashboards_sample_data_logs WHERE host = "www.opensearch.org" AND MATCH(message, "GET 503 Linux", operator="AND");
"""
}
{
"schema": [
{
"name": "host",
"type": "text"
},
{
"name": "highlight(message)",
"type": "nested"
}
],
"datarows": [
[
"www.opensearch.org",
[
"""106.225.58.146 - - [2018-07-22T03:49:40.669Z] "<em>GET</em> /apm_1 HTTP/1.1" <em>503</em> 0 "-" "Mozilla/5.0 (X11; <em>Linux</em>"""
]
],
...
What is your host/environment?
Do you have any screenshots?
Do you have any additional context?
N/A
Hi team,
we did experience a strange behavior of Kibana when upgrading it to the latest version of ODFE 1.13.2.
Describe the bug
Zone_rules_exception “Unknown time-zone ID: Browser”
This doesn't happen when using Browser as a default time zone but rather when changing it to e.g. "UTC" and upgrading the ODFE version. It may be related to the cache and it gets resolved by doing "force refresh" e.g. on Chome via Ctrl + R. I just wanted to report it in case the ODFE team wants to debug a bit further on the issue.
Here is the error user gets on Kibana:
zone_rules_exception
Unknown time-zone ID: Browser
Error: Bad Request
at Fetch._callee3$ (https://<host>/36136/bundles/core/core.entry.js:6:59535)
at tryCatch (https://<host>/36136/bundles/plugin/opendistroQueryWorkbenchKibana/opendistroQueryWorkbenchKibana.plugin.js:1:32004)
at Generator.invoke [as _invoke] (https://<host>/36136/bundles/plugin/opendistroQueryWorkbenchKibana/opendistroQueryWorkbenchKibana.plugin.js:1:35968)
at Generator.forEach.prototype.<computed> [as next] (https://<host>/36136/bundles/plugin/opendistroQueryWorkbenchKibana/opendistroQueryWorkbenchKibana.plugin.js:1:33129)
at fetch_asyncGeneratorStep (https://<host>/36136/bundles/core/core.entry.js:6:52652)
at _next (https://<host>/36136/bundles/core/core.entry.js:6:52968)
and it seems to be coming mostly from opendistroQueryWorkbenchKibana
.
To Reproduce
sudo apt install -y opendistroforelasticsearch-kibana
sudo /bin/systemctl start kibana.service
After these steps are done, open Kibana URL, and you will see an Error message (as above) complaining that Zone_rules_exception “Unknown time-zone ID: Browser”
Expected behavior
Should be able to pick up the time-zone setup in Kibana.
Plugins
Default pluginns shiped with ODFE.
Host/Environment (please complete the following information):
Is your feature request related to a problem? Please describe.
When erroneous queries on query workbench are ran, the error output is currently generic <queryInput>: Bad Request, this query is not runnable.
instead of containing detailed error message output (e.g no such index <indexName>
)
Describe the solution you'd like
Change the error response body to display full detailed error output.
@opensearch-ci-bot commented on Tue Jan 10 2023
Received Error: Error building OpenSearch-Dashboards, retry with: ./build.sh manifests/2.5.0/opensearch-dashboards-2.5.0.yml --component OpenSearch-Dashboards.
The distribution build for OpenSearch-Dashboards has failed.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/5309/consoleFull
@kavilla commented on Tue Jan 10 2023
+ cd plugins/queryWorkbenchDashboards
+ yarn plugin-helpers build --opensearch-dashboards-version=2.5.0
yarn run v1.22.19
error Command "plugin-helpers" not found. Did you mean "plugin_helpers"?
What is the bug?
A clear and concise description of the bug.
https://future.playground.opensearch.org/app/opensearch-query-workbench
-> dark mode should work consistently with each coloring on each query view.
How can one reproduce the bug?
Steps to reproduce the behavior:
What is the expected behavior?
A clear and concise description of what you expected to happen.
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
This is a component issue for 3.0.0
.
Coming from opensearch-project/opensearch-build#3747. Please follow the following checklist.
Please refer to the DATES in that post.
This issue captures the state of the OpenSearch release, on component/plugin level; its assignee is responsible for driving the release. Please contact them or @mention them on this issue for help.
Any release related work can be linked to this issue or added as comments to create visiblity into the release status.
There are several steps to the release process; these steps are completed as the whole component release and components that are behind present risk to the release. The component owner resolves the tasks in this issue and communicate with the overall release owner to make sure each component are moving along as expected.
Steps have completion dates for coordinating efforts between the components of a release; components can start as soon as they are ready far in advance of a future release. The most current set of dates is on the overall release issue linked at the top of this issue.
Linked at the top of this issue, the overall release issue captures the state of the entire OpenSearch release including references to this issue, the release owner which is the assignee is responsible for communicating the release status broadly. Please contact them or @mention them on that issue for help.
If including changes in this release, increment the version on 3.x
branch to 3.0.0
for Min/Core, and 3.0.0.0
for components. Otherwise, keep the version number unchanged for both.
v3.0.0
.3.0.0
are complete.3.0.0
release branch in the distribution manifest.3.0.0
have been merged.What is the bug?
This is related to opensearch-project/sql#644
Once that gets implemented, the current rules for distinguishing describe
response from show
response doesn't work anymore.
How can one reproduce the bug?
What is the expected behavior?
COLUMN_NAME should also be rendered
Do you have any additional context?
This happens because previously, we can't filter the fields of the responses of show
and describe
for SQL, while describe
in PPL allows that.
Workaround: seankao-az/sql@ppl-describe...seankao-az:workbench-describe-render
With 2.9.0 release, there are lot of enhancements going in for segment replication[1][2] feature (went GA in 2.7.0), we need to ensure different plugins are compatible with current state of this feature. Previously, we ran tests on plugin repos to verify this compatibility but want plugin owners to be aware of these changes so that required updates (if any) can be made
With segment replication, there is inherent delay in documents to be searchable on replica shard copies. This is due to the fact that replica shard copies over data (segment) files from primary. Thus, compared to document replication, there will be on average increase in amount of time the replica shards are consistent with primaries.
With opensearch-project/OpenSearch#8200, system and hidden indices are now supported with SEGMENT
replication strategy. We need to ensure there are no bottlenecks which prevents system/hidden indices with segment replication.
With segment replication strong reads are not guaranteed. Thus, if the plugin needs strong reads guarantees specially as alternative to change in behavior of refresh policy and lag on replicas (point 1 and 2 above), we need to update search requests to target primary shard only. With opensearch-project/OpenSearch#7375, core now supports primary shards only based search. Please follow documentation for examples and details
In case of any questions or issues, please post it in core issue
[1] Design
[2] Documentation
This is a component issue for 2.6.0.
Coming from opensearch-build__3081__. Please follow the following checklist.
Please refer to the DATES in that post.
This issue captures the state of the OpenSearch release, on component/plugin level; its assignee is responsible for driving the release. Please contact them or @mention them on this issue for help.
Any release related work can be linked to this issue or added as comments to create visiblity into the release status.
There are several steps to the release process; these steps are completed as the whole component release and components that are behind present risk to the release. The component owner resolves the tasks in this issue and communicate with the overall release owner to make sure each component are moving along as expected.
Steps have completion dates for coordinating efforts between the components of a release; components can start as soon as they are ready far in advance of a future release. The most current set of dates is on the overall release issue linked at the top of this issue.
Linked at the top of this issue, the overall release issue captures the state of the entire OpenSearch release including references to this issue, the release owner which is the assignee is responsible for communicating the release status broadly. Please contact them or @mention them on that issue for help.
If including changes in this release, increment the version on __2.x__
branch to __2.6.0__
for Min/Core, and __2.6.0.0__
for components. Otherwise, keep the version number unchanged for both.
v2.6.0
.__2.6.0__
are complete.__2.6__
release branch in the distribution manifest.__2.6.0__
have been merged.Coming from opensearch-project/opensearch-build#4161
We are planning 2.11.1
release in upcoming few weeks. Following the semver guildelines and branching strategy, this release will be based on 2.11
as a reference branch
We need this release because of a critical breaking bug in the security plug-in. This bug impacts everyone using logstash and the only work around is to turn off compression (which is expensive)
As a refresher, our normal process is to commit changes to main, then backport to 2.x. Since the 1.0 release, we only backport bug fixes and security changes to the current 2.x branch (in this case 2.11) so that if we need to we can quickly do a patch release.
There are two reason we don’t back port features to the current release branch (right now 2.11):
However, looking at the list of changes for 2.11, we currently have a mix of features that have been merged in. After providing several options and discussing with all the component teams as well as community we came to the conclusion of reverting all feature related changes from 2.11 branch.
Please help revert all the commits that are related to new features or enhancements from 2.11 branch that were added after 2.11.0 release.
Here is a rough list of commits that went in after 2.11.0 release for each repo.
Please check-mark one of the below and close this issue once the action item is completed.
OR
This is a component issue for {REPLACE_WITH_RELEASE_VERSION}.
Coming from opensearch-project/opensearch-build#3616. Please follow the following checklist.
Please refer to the DATES in that post.
This issue captures the state of the OpenSearch release, on component/plugin level; its assignee is responsible for driving the release. Please contact them or @mention them on this issue for help.
Any release related work can be linked to this issue or added as comments to create visiblity into the release status.
There are several steps to the release process; these steps are completed as the whole component release and components that are behind present risk to the release. The component owner resolves the tasks in this issue and communicate with the overall release owner to make sure each component are moving along as expected.
Steps have completion dates for coordinating efforts between the components of a release; components can start as soon as they are ready far in advance of a future release. The most current set of dates is on the overall release issue linked at the top of this issue.
Linked at the top of this issue, the overall release issue captures the state of the entire OpenSearch release including references to this issue, the release owner which is the assignee is responsible for communicating the release status broadly. Please contact them or @mention them on that issue for help.
If including changes in this release, increment the version on __{REPLACE_MAJOR_MINOR_PATCH}__
branch to __{REPLACE_MAJOR_MINOR_PATCH}__
for Min/Core, and __{REPLACE_MAJOR_MINOR_PATCH_0}__
for components. Otherwise, keep the version number unchanged for both.
v__REPLACE_MAJOR_MINOR_PATCH__
.__{REPLACE_MAJOR_MINOR_PATCH}__
are complete.__REPLACE_MAJOR_MINOR__
release branch in the distribution manifest.__{REPLACE_MAJOR_MINOR_PATCH}__
have been merged.What is the bug?
{ "statusCode": 403, "error": "Forbidden", "message": "{\n \"status\": 403,\n \"error\": {\n \"type\": \"OpenSearchSecurityException\",\n \"reason\": \"There was internal problem at backend\",\n \"details\": \"no permissions for [cluster:admin/opensearch/ql/datasources/read] and User [name\\u003dtest, backend_roles\\u003d[], requestedTenant\\u003d__user__]\"\n }\n}" }
How can one reproduce the bug?
Steps to reproduce the behavior:
What is the expected behavior?
A clear and concise description of what you expected to happen.
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
This is a tracking issue for phase 1 of OUI theme plugin compliance, which will involve changes to OUI typography and color SASS variables (for both dark and light mode). For full details, including dates and tooling, see opensearch-project/OpenSearch-Dashboards#4291
If your plugin has no UI views or components, please add a comment to that effect, and we'll remove the repo from future look and feel update campaigns.
Add a comment on opensearch-project/OpenSearch-Dashboards#4291
Is your feature request related to a problem? Please describe.
Since we can write sql query in Query Workbench, and get the result immediately. But we have to paste the sql statement everytime and could not use the result to draw a visualization report.
Describe the solution you'd like
Save the sql query as a type of visualization, so we don't need to save the sql out of opensearch and treat it the same as DQL
Describe alternatives you've considered
This is a component issue for 2.11.0
.
Coming from opensearch-project/opensearch-build#3998. Please follow the following checklist.
Please refer to the DATES in that post.
This issue captures the state of the OpenSearch release, on component/plugin level; its assignee is responsible for driving the release. Please contact them or @mention them on this issue for help.
Any release related work can be linked to this issue or added as comments to create visiblity into the release status.
There are several steps to the release process; these steps are completed as the whole component release and components that are behind present risk to the release. The component owner resolves the tasks in this issue and communicate with the overall release owner to make sure each component are moving along as expected.
Steps have completion dates for coordinating efforts between the components of a release; components can start as soon as they are ready far in advance of a future release. The most current set of dates is on the overall release issue linked at the top of this issue.
Linked at the top of this issue, the overall release issue captures the state of the entire OpenSearch release including references to this issue, the release owner which is the assignee is responsible for communicating the release status broadly. Please contact them or @mention them on that issue for help.
If including changes in this release, increment the version on 2.x
branch to 2.11.0
for Min/Core, and 2.11.0.0
for components. Otherwise, keep the version number unchanged for both.
v2.11.0
.2.11.0
from the 2.x
branch.2.11.0
are complete.2.11.0
have been merged.Describe the bug
The following SQL statements are equivalent, but the workbench will not process the latter and throw an error and say this query is not runnable. If this is solved in later versions, I'll close the issue.
SELECT event_date, event_description FROM events
versus
SELECT
event_date,
event_description
FROM events
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To insert readable queries.
OpenSearch Version
1.0.0
Dashboards Version
1.0.0
I am writing PPL to query an index and just display some fields. If I run
source=moviegeek-logs-*
I see fields like trace_id, method, span_id, index
I can run source=moviegeek-logs-* | fields trace_id, span_id, method
and get the expected table.
If I add index
: source=moviegeek-logs-* | fields trace_id, span_id, method, index
I get the following error in the output panel:
Events: Bad Request, this query is not runnable.
Better error messaging around syntax and other problems
None
None
Hi All,
This is coming from the campaign here:
We would like your CI check (specifically plugin build) in GitHub Repo to run on top of the Build Docker Images from production distribution pipeline.
This is to ensure every plugin repo will use the exact docker images we used in Jenkins build, to check their PRs and run tests before merging the code, so that issues can be detected earlier, and environment can be identical across teams.
The Build Team has created a simple script to dynamically retrieve the current docker image name/tag, so everyone can easily pull the images for their CI checks.
We have a trial run of the above with k-NN team. The script retrieves the docker image dynamically, save output, and use it as the docker image to pull for the upcoming run:
Note that GitHub Actions only support LINUX docker container at the time of this writing, so we will add Windows containers later on as well as macOS.
We would like you to review above PR and implement similar changes. Note on line 33
of the above k-NN PR, -u
and -p
parameters needs to assign values accordingly.
CI_IMAGE_VERSION=`opensearch-build/docker/ci/get-ci-images.sh -p centos7 -u opensearch -t build | head -1`
CI_IMAGE_VERSION=`opensearch-build/docker/ci/get-ci-images.sh -p rockylinux8 -u opensearch-dashboards -t build | head -1`
Note that in the above k-NN PR, despite it being OpenSearch plugin, it still uses rockylinux8
, as we initially plan to upgrade to rockylinux. We have since revert back to centos7
to support older versions of systems running k-NN lib. As a result, all OpenSearch plugins still uses centos7
for the time being, and all OpenSearch-Dashboards plugins can go to rockylinux8
.
The above should be implemented by Nov. 1, 2023 (2023-11-01)
by Plugin Owners to their repository.
And backport the changes to 2.x
branch after merging in main
branch.
Please contact @peterzhuamazon for any questions on this campaign.
cc: @bbarani
Thanks.
This is a component issue for 2.10.0
.
Coming from opensearch-project/opensearch-build#3743. Please follow the following checklist.
Please refer to the DATES in that post.
This issue captures the state of the OpenSearch release, on component/plugin level; its assignee is responsible for driving the release. Please contact them or @mention them on this issue for help.
Any release related work can be linked to this issue or added as comments to create visiblity into the release status.
There are several steps to the release process; these steps are completed as the whole component release and components that are behind present risk to the release. The component owner resolves the tasks in this issue and communicate with the overall release owner to make sure each component are moving along as expected.
Steps have completion dates for coordinating efforts between the components of a release; components can start as soon as they are ready far in advance of a future release. The most current set of dates is on the overall release issue linked at the top of this issue.
Linked at the top of this issue, the overall release issue captures the state of the entire OpenSearch release including references to this issue, the release owner which is the assignee is responsible for communicating the release status broadly. Please contact them or @mention them on that issue for help.
If including changes in this release, increment the version on 2.x
branch to 2.10.0
for Min/Core, and 2.10.0.0
for components. Otherwise, keep the version number unchanged for both.
v2.10.0
.2.10.0
are complete.2.10.0
release branch in the distribution manifest.2.10.0
have been merged.Overlapping rows when many tables
How can one reproduce the bug?
Steps to reproduce the behavior:
What is the expected behavior?
A clear and concise description of what you expected to happen.
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
As part of our ongoing efforts to improve the OpenSearch Dashboards' performance, maintainability, and developer experience, we have decided to de-angularize the dashboard.
This change will impact all plugins that use the OpenSearch Dashboard dashboard and require your attention to ensure the compatibility and performance of your plugins. If your plugin has nothing to do with dashboard, please close the issue.
We suggest a thoroughly test of your plugin on new dashboard. Here are some steps:
Pull this feature branch https://github.com/opensearch-project/OpenSearch-Dashboards/tree/feature/deangular-dashboards.
Install and start your plugin.
Run all the tests. Also recommend to do manual tests.
We understand that this transition may require significant work on your part, and we are here to support you during this process. If there is any concerns or issues, feel free to comment here. If there is a bug, please also add it to opensearch-project/OpenSearch-Dashboards#4505.
Received Error: Error building reportsDashboards, retry with: ./build.sh manifests/3.0.0/opensearch-dashboards-3.0.0.yml --component reportsDashboards.
The distribution build for queryWorkbenchDashboards has failed for version: 3.0.0.
Please see build log at https://build.ci.opensearch.org/job/distribution-build-opensearch-dashboards/6753/consoleFull
Describe the bug
GIVEN, I go the the query workbench
AND I run the select query
select * from filebeat-prodapps-2022.10.04
where container.labels.io_kubernetes_pod_namespace = "xyz"
AND this query gives me multiple results
THEN I expect that the delete query
delete from filebeat-prodapps-2022.10.04
where container.labels.io_kubernetes_pod_namespace = "xyz"
to delete multiple entries. This is however not the case
To Reproduce
Steps to reproduce the behavior:
PUT _plugins/_query/settings { "transient": { "plugins.sql.delete.enabled": "true" } }
Expected behavior
I expect to get back a delete success with a number of lines that got deleted
OpenSearch Version
I'm running opensearch/dashboards version 2.3.0 via docker compose.
Dashboards Version
2.3.0
Plugins
security, alerting, ML, everyting from the default docker compose
Host/Environment (please complete the following information):
Acceleration flyout refresh interval doesn’t have minutes as an option
This issue might be because we applied a third party js library to highlight the keywords which are taken from some SQL standard but there exists some difference between the other SQL standards and our grammar.
This issue to be transferred to corresponding repository
I am working on launching new light and dark mode themes provided by OUI component library for a target launch within 2.10. These changes support the vision expressed in Future Vision for Dashboards
I have identified the following front end related issues that prevent the theme from appearing complete and potential solutions within this feature:
When navigating away from query workbench with an ongoing query, the async polling request will continue to run without a way to cancel
This is a component issue for 2.8.0.
Coming from opensearch-build#3434. Please follow the following checklist.
Please refer to the DATES in that post.
This issue captures the state of the OpenSearch release, on component/plugin level; its assignee is responsible for driving the release. Please contact them or @mention them on this issue for help.
Any release related work can be linked to this issue or added as comments to create visiblity into the release status.
There are several steps to the release process; these steps are completed as the whole component release and components that are behind present risk to the release. The component owner resolves the tasks in this issue and communicate with the overall release owner to make sure each component are moving along as expected.
Steps have completion dates for coordinating efforts between the components of a release; components can start as soon as they are ready far in advance of a future release. The most current set of dates is on the overall release issue linked at the top of this issue.
Linked at the top of this issue, the overall release issue captures the state of the entire OpenSearch release including references to this issue, the release owner which is the assignee is responsible for communicating the release status broadly. Please contact them or @mention them on that issue for help.
If including changes in this release, increment the version on __2.x__
branch to __2.8.0__
for Min/Core, and __2.8.0.0__
for components. Otherwise, keep the version number unchanged for both.
v2.8.0
.2.8.0
are complete.2.8
release branch in the distribution manifest.2.8.0
have been merged.Is your feature request related to a problem? Please describe.
Searching through data with ppl is fast, but now I want to view the full document. This is not possible
Describe the solution you'd like
Button to open json/source document like in discover
Describe alternatives you've considered
N/A
Additional context
N/A
Flint Spark extension to create skipping index with OpenSearch which can accelerate query with applicable filtering condition.
Is your feature request related to a problem?
No
What solution would you like?
PPL is currently not supported via Discovery and I would like to have this capability to facilitate the process of interacting with the indices data.
What alternatives have you considered?
I'm currently using Workbench but it doesn't have the same capabilities as Discovery (plugin).
Do you have any additional context?
No
The opensearch-dashboards-functional-test repo is working on upgrading the version of Cypress used in the repo from v9 to v12.
There is a feature branch in the repository called feature/cypress12
to work on the upgrade and ensure that all repositories that have functional tests in the repo can verify that their tests run successfully with the upgraded version of cypress. If any updates to tests are required please submit a PR against the function test repo and base the PR on the feature/cypress12
branch to show the tests running with the upgraded version of Cypress.
Please refer to the migration guide from Cypress to reference when updating tests.
If no work is required to update the tests then please close this issue and indicate that no update is required.
This is a component issue for 2.7.0.
Coming from opensearch-build#3230. Please follow the following checklist.
Please refer to the DATES in that post.
This issue captures the state of the OpenSearch release, on component/plugin level; its assignee is responsible for driving the release. Please contact them or @mention them on this issue for help.
Any release related work can be linked to this issue or added as comments to create visiblity into the release status.
There are several steps to the release process; these steps are completed as the whole component release and components that are behind present risk to the release. The component owner resolves the tasks in this issue and communicate with the overall release owner to make sure each component are moving along as expected.
Steps have completion dates for coordinating efforts between the components of a release; components can start as soon as they are ready far in advance of a future release. The most current set of dates is on the overall release issue linked at the top of this issue.
Linked at the top of this issue, the overall release issue captures the state of the entire OpenSearch release including references to this issue, the release owner which is the assignee is responsible for communicating the release status broadly. Please contact them or @mention them on that issue for help.
If including changes in this release, increment the version on __2.x__
branch to __2.7.0__
for Min/Core, and __2.7.0.0__
for components. Otherwise, keep the version number unchanged for both.
v2.7.0
.2.7.0
are complete.2.7
release branch in the distribution manifest.2.7.0
have been merged.Is your feature request related to a problem? Please describe.
In the 'Query Workbench' it would be good if we could active 'Run' (execute search) by pressing Control-Enter (ctrl-enter) key press combo. This is a already used by the 'Dev Tools' feature for example.
Describe the solution you'd like
Pressing Control-Enter (ctrl-enter) key press combo runs the PPL/SQL query
Describe alternatives you've considered
Tabbing to the Run button fails also due to tab inserts in the text field.
Using the mouse does continue to work :-)
Is your feature request related to a problem?
https://forum.opensearch.org/t/shortcut-keys-are-required-when-executing-query-in-query-workbench/11151
What solution would you like?
A clear and concise description of what you want to happen.
What alternatives have you considered?
A clear and concise description of any alternative solutions or features you've considered.
Do you have any additional context?
Add any other context or screenshots about the feature request here.
As part of the discussion around implementing an organization-wide testing policy, I am visiting each repo to see what tests they currently perform. I am conducting this work on GitHub so that it is easy to reference.
Looking at the Dashboards Query Workbench repository, it appears there is
Repository | Unit Tests | Integration Tests | Backwards Compatibility Tests | Additional Tests | Link |
---|---|---|---|---|---|
Dashboards Query Workbench | Code QL, Lint Checker, Certificate of Origin, SQL Query Workbench | #45 |
I don't see any requirements for code coverage in the testing documentation. If there are any specific requirements could you respond to this issue to let me know?
If there are any tests I missed or anything you think all repositories in OpenSearch should have for testing please respond to this issue with details.
Describe the bug
Query is not working unless it is written in single line.
To Reproduce
Works fine:
select * from index-logs where body = 'here';
Not working:
select * from index-logs
where body = 'here';
gives error: no response, this query is not runnable.
Expected behavior
Multi-line query should also work
What is the bug?
SQL workbench doesn't support viewing all values of a child in nested json.
How can one reproduce the bug?
Index a doc with nested objects.
What is the expected behavior?
All the values of the indexed doc, including children objects should be visible in SQL Workbench.
What is your host/environment?
OS/OSD 1.3.0
Do you have any screenshots?
Complete object in Event Analytics
Release Version 2.5.0
This is a component issue for 2.5.0.
Coming from opensearch-build#2908. Please follow the following checklist.
Please refer to the DATES / CAMPAIGNS in that post.
This issue captures the state of the OpenSearch release, on component/plugin level; its assignee is responsible for driving the release. Please contact them or @mention them on this issue for help.
Any release related work can be linked to this issue or added as comments to create visiblity into the release status.
There are several steps to the release process; these steps are completed as the whole component release and components that are behind present risk to the release. The component owner resolves the tasks in this issue and communicate with the overall release owner to make sure each component are moving along as expected.
Steps have completion dates for coordinating efforts between the components of a release; components can start as soon as they are ready far in advance of a future release. The most current set of dates is on the overall release issue linked at the top of this issue.
Linked at the top of this issue, the overall release issue captures the state of the entire OpenSearch release including references to this issue, the release owner which is the assignee is responsible for communicating the release status broadly. Please contact them or @mention them on that issue for help.
If including changes in this release, increment the version on 2.0
branch to 2.5.0
for Min/Core, and 2.5.0.0
for components. Otherwise, keep the version number unchanged for both.
v2.5.0
.2.5
branch2.5.0
are complete.2.5.0
release branch in the distribution manifest.2.5.0
have been merged.What is the bug?
Specifically this line failed in cypress run for 2.9.0 https://github.com/opensearch-project/opensearch-dashboards-functional-test/blob/main/cypress/integration/plugins/query-workbench-dashboards/ui.spec.js#L214
Cypress error was expected undefined to be a string
. possibly something changed in the API call that broke tests.
Manually verified that download csv and text file are working properly using 2.9.0 RC2.
How can one reproduce the bug?
Steps to reproduce the behavior:
opensearch-project/opensearch-build#3616 (comment)
What is the expected behavior?
A clear and concise description of what you expected to happen.
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
This is a feature request for auto-completion in SQL Workbench. The desired behaviour is to have auto-completion covering the below:
Follow opensearch-project/.github#125 to baseline MAINTAINERS, CODEOWNERS, and external collaborator permissions.
Close this issue when:
If this repo's permissions was already baselined, please confirm the above when closing this issue.
This is a component issue for 2.12.0
.
Coming from opensearch-project/opensearch-build#4115. Please follow the following checklist.
Please refer to the DATES in that post.
This issue captures the state of the OpenSearch release, on component/plugin level; its assignee is responsible for driving the release. Please contact them or @mention them on this issue for help.
Any release related work can be linked to this issue or added as comments to create visiblity into the release status.
There are several steps to the release process; these steps are completed as the whole component release and components that are behind present risk to the release. The component owner resolves the tasks in this issue and communicate with the overall release owner to make sure each component are moving along as expected.
Steps have completion dates for coordinating efforts between the components of a release; components can start as soon as they are ready far in advance of a future release. The most current set of dates is on the overall release issue linked at the top of this issue.
Linked at the top of this issue, the overall release issue captures the state of the entire OpenSearch release including references to this issue, the release owner which is the assignee is responsible for communicating the release status broadly. Please contact them or @mention them on that issue for help.
If including changes in this release, increment the version on 2.x
branch to 2.12.0
for Min/Core, and 2.12.0.0
for components. Otherwise, keep the version number unchanged for both.
v2.12.0
.2.12
from the 2.x
branch.2.12.0
are complete.2.12.0
have been merged.Describe the bug
Having an Object with the following structure:
MyData
{
name: String
body: MyBody
}
MyBody
{
sex: String
}
If I create the index with the following mappings
mappings": {
"properties": {
"body": { "type": "object", "enabled": false }
}
}
Executing the query from the Dashboard "select * from my_index_test;" I got the error "[IllegalStateException] There was internal problem at backend, this query is not runnable."
But the index works fine, because inserting and searching documents using the Java high-level REST client, I managed to get the documents and the body field is not getting indexed.
To Reproduce
Java code:
CreateIndexRequest createIndexRequest = new CreateIndexRequest("my_index_test");
HashMap<String, String> typeMapping = new HashMap<String,String>();
typeMapping.put("type", "object");
typeMapping.put("enabled", "false");
excludeObjectsMapping.put("body", typeMapping);
HashMap<String, Object> mapping = new HashMap<String, Object>();
mapping.put("properties", excludeObjectsMapping);
createIndexRequest.mapping(mapping);
searchClient.indices().create(createIndexRequest, RequestOptions.DEFAULT);
Expected behavior
No errors shoud be shown
OpenSearch Version
1.2.0
Dashboards Version
1.2.0
Host/Environment (please complete the following information):
Update 1:
executing the query "select name from my_index_test" it works, so the problem is that select (*), also include the "body" field which is not indexd.
Thank you.
Michele
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.