You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we click Discover sidebar from other pages, we fetch the default dataset to enrich the default query, but we don't fetch the data source info and enrich the default dataset, resulting in some unexpected behavior such as:
The selected dataset doesn't show the dataSource prefix
Some query enhancement like query_assistant_ppl doesn't show the banner because we cannot check feature flag in the correct data source.
To Reproduce
Steps to reproduce the behavior:
Go to some other pages except the Discover.
Click on 'Discover' link the sidebar
We can see that the selected dataset doesn't show the datasource prefix.
We can also check the url, dataSource field doesn't exist in the dataset field, but if we reselect that dataset, then everything is fine.
Describe the bug
When we click
Discover
sidebar from other pages, we fetch the default dataset to enrich the default query, but we don't fetch the data source info and enrich the default dataset, resulting in some unexpected behavior such as:query_assistant_ppl
doesn't show the banner because we cannot check feature flag in the correct data source.To Reproduce
Steps to reproduce the behavior:
Discover
.dataSource
field doesn't exist in thedataset
field, but if we reselect that dataset, then everything is fine.Expected behavior
As described above.
OpenSearch Version
3.0.0
Dashboards Version
3.0.0
Plugins
Anomaly detection
Observability
Workspace
Screenshots
URL: https://future.playground.opensearch.org/w/c0kZbl/app/data-explorer/discover#?_a=(discover:(columns:!(_source),isDirty:!f,sort:!()),metadata:(view:discover))&_q=(filters:!(),query:(dataset:(id:c0kZbl_c50be440-86dd-11ef-8943-bda9cabad8b1_90943e30-9a47-11e8-b64d-95841ca0b247,timeFieldName:timestamp,title:opensearch_dashboards_sample_data_logs,type:INDEX_PATTERN),language:PPL,query:'source%20%3D%20opensearch_dashboards_sample_data_logs'))&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
URL: https://future.playground.opensearch.org/w/c0kZbl/app/data-explorer/discover#?_a=(discover:(columns:!(_source),isDirty:!f,sort:!()),metadata:(view:discover))&_q=(filters:!(),query:(dataset:(dataSource:(id:c50be440-86dd-11ef-8943-bda9cabad8b1,title:'Olly@2.17.1',type:OpenSearch),id:c0kZbl_c50be440-86dd-11ef-8943-bda9cabad8b1_90943e30-9a47-11e8-b64d-95841ca0b247,timeFieldName:timestamp,title:opensearch_dashboards_sample_data_logs,type:INDEX_PATTERN),language:PPL,query:'source%20%3D%20opensearch_dashboards_sample_data_logs'))&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))
Host/Environment (please complete the following information):
Additional context
bugfix.mov
The text was updated successfully, but these errors were encountered: