Skip to content

[Bug]: When previewing SQL, the frontend first displays the data of the previous preview SQL statement due to the slow return of the interface #3585

@qymsummer

Description

@qymsummer

ODC version

4.3.2

OB version

no related

What happened?

When previewing SQL, the frontend first displays the data of the previous preview SQL statement due to the slow return of the interface
image
image
The same is true for the execution details, the details of WE6 are viewed, but the details of the last time WE1 was viewed are displayed first, and will be automatically updated to the details of WE6 after a few seconds

What did you expect to happen?

More timely updates

How can we reproduce it (as minimally and precisely as possible)?

1、When committing a logical table change, click SQL Preview, then change the table structure, and click Preview again to view that the table structure in this preview is still the same as the first table structure, and it will be updated to the new table structure after a few seconds
2、Execution details and task logs are also slow to load
3、Create a new logic database change, submit the SQL window, and the name of the logic database, and it will take a few seconds to load it
4、After the logical table is removed, it takes a few seconds for it to disappear
image

Anything else we need to know?

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status
New

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions