You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by GitBox <gi...@apache.org> on 2022/09/13 09:50:26 UTC
[GitHub] [incubator-streampark] youyangkou opened a new issue, #1590: [Bug] Postgres database table field default value bug
youyangkou opened a new issue, #1590:
URL: https://github.com/apache/incubator-streampark/issues/1590
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
### What happened
When using postgres as the database, the default value of the database table field is not consistent with the default value of the mysql database table field, resulting in a code logic error
### StreamPark Version
1.2.4/dev
### Java Version
1.8
### Flink Version
1.13
### Scala Version of Flink
2.11
### Error Exception
```log
1、internal server error: ### Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: null value in column "create_time" of relation "t_alert_config" violates not-null constraint
2、[XNIO-1 task-2] ERROR org.apache.streampark.console.core.service.impl.FlinkClusterServiceImpl - null java.lang.NullPointerException
```
### Screenshots


### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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: issues-unsubscribe@streampark.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-streampark] youyangkou commented on issue #1590: [Bug] Postgres database table field default value bug
Posted by GitBox <gi...@apache.org>.
youyangkou commented on issue #1590:
URL: https://github.com/apache/incubator-streampark/issues/1590#issuecomment-1245168928


--
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: issues-unsubscribe@streampark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-streampark] youyangkou closed issue #1590: [Bug] Postgres database table field default value bug
Posted by GitBox <gi...@apache.org>.
youyangkou closed issue #1590: [Bug] Postgres database table field default value bug
URL: https://github.com/apache/incubator-streampark/issues/1590
--
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: issues-unsubscribe@streampark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org