mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-03 06:03:12 +00:00
Remove ORDER BY from the postgres DELETE statement (#18757)
Co-authored-by: amir.shakeri <amir.shakeri@free-now.com> Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
This commit is contained in:
parent
d3af7ae601
commit
860b420d3d
@ -1176,7 +1176,7 @@ public interface CollectionDAO {
|
||||
value =
|
||||
"DELETE FROM entity_relationship "
|
||||
+ "WHERE json->'pipeline'->>'id' =:toId OR toId = :toId AND relation = :relation "
|
||||
+ "AND json->>'source' = :source ORDER BY toId",
|
||||
+ "AND json->>'source' = :source",
|
||||
connectionType = POSTGRES)
|
||||
void deleteLineageBySourcePipeline(
|
||||
@BindUUID("toId") UUID toId,
|
||||
|
Loading…
x
Reference in New Issue
Block a user