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
According to this, when redirection to query workbench happens in data source management, query workbench will always treat as the targeting cluster as the the current global value of the current cluster, which in the above case, the global value is not being setup, so it will always select the default cluster.
Steps for reproduce
Enable MDS and connect to a remote cluster.
Get a flint setup domain on local cluster
Go to Datasource management page and select the flint datasource in the "direct query connections" tab for the local cluster
Click into the detailed connection page, and click on the "Create Acceleration" card/button, so that it will pop up the Flint acceleration creation flow as a flyout.
Try to filling the required field, for a creation of Skipping/MV/CV/
Select "Preview SQL Definition" and click on "Edit in query workbench"
When the redirection happens, even the query that generated in datasource management for local cluster's flint datasource is pasted in query workbench,. However, the cluster picker in query workbench shows the user is querying in the remote cluster, since that is the default cluster.
RyanL1997
changed the title
[MDS][Enhancement] Redirection to query workbench should be able to select remote cluster
[MDS][Enhancement] Redirection to query workbench should be able to select specific cluster
Oct 16, 2024
The problem to resolve
Under the MDS environment, when the redirection from datasource management to query workbench happens, there is a cluster selection mismatch.
Backgroud of the issue
In
2.16
, data source management plugin introduced the direct query connection with MDS support. For supporting MDS, it was originally designed to use a datasource picker in PR: [MDS] Observability Datasource Plugin migration with MDS support #7143, shown as the following picture:However, the above design was replaced by PR: Display direct query connections of local cluster in data sources page #8059. The following picture shows the datasource picker was removed:
According to this, when redirection to query workbench happens in data source management, query workbench will always treat as the targeting cluster as the the current global value of the current cluster, which in the above case, the global value is not being setup, so it will always select the default cluster.
Steps for reproduce
Screen.Recording.2024-10-15.at.6.18.49.PM.mov
How to resolve this issue
The text was updated successfully, but these errors were encountered: