peak-xu commented on issue #15864:
URL: 
https://github.com/apache/dolphinscheduler/issues/15864#issuecomment-2065562309

   > > select trigger_type,job_id,trigger_code,count(id) as cnt from 
t_ds_trigger_relation group by trigger_type,job_id,trigger_code having cnt>1;
   > > Duplicate data exists ! this table uk is  t_ds_trigger_relation_UN 
(trigger_type,job_id,trigger_code)
   > 
   > It's strange, the uk doesn't work?
   
   sorry,I didn't describe it clearly.
   
   select * from t_ds_trigger_relation WHERE trigger_type = 2 and job_id =  xx;
   
   The query in the source code only has two fields, so the result is 
definitely not unique


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to