flowerfine / scaleph

Open data platform based on Kubernetes. Scaleph supports SeaTunnel、Flink and Doris backended by SeaTunnel on Flink engine、Flink Kubernetes Operator and Doris operator.
https://flowerfine.github.io/scaleph-repress-site/
Apache License 2.0
367 stars 103 forks source link

[Bug] [scaleph-ui-react] save seatunnel dag error on 1.0.3 #484

Open zhangzhanghu111 opened 1 year ago

zhangzhanghu111 commented 1 year ago

Already searched before asking?

Scaleph Version or Branch

Scaleph 1.0.3

What happened

保存 SeaTunnel Job

Error Exception

org.springframework.dao.DataIntegrityViolationException: 
### Error updating database.  Cause: java.sql.SQLException: Field 'from_step_code' doesn't have a default value
### The error may exist in cn/sliew/scaleph/dao/mapper/master/ws/WsDiJobLinkMapper.java (best guess)
### The error may involve cn.sliew.scaleph.dao.mapper.master.ws.WsDiJobLinkMapper.insert-Inline
### The error occurred while setting parameters
### SQL: INSERT INTO ws_di_job_link  ( job_id, link_code,   creator, create_time, editor, update_time )  VALUES  ( ?, ?,   ?, ?, ?, ? )
### Cause: java.sql.SQLException: Field 'from_step_code' doesn't have a default value
; Field 'from_step_code' doesn't have a default value; nested exception is java.sql.SQLException: Field 'from_step_code' doesn't have a default value

Screenshots

image

Are you willing to submit PR?

Code of Conduct

kalencaya commented 1 year ago

switch to 1.0.2 branch and try again. 1.0.3 has multiple bugs and work bad