Gianzie opened a new pull request, #4253:
URL: https://github.com/apache/streampark/pull/4253
## What changes were proposed in this pull request
In the current code, the table "t_flink_app_backup" will be cleaned at 01:00
everyday, and the sql is "SELECT
id,app_id,sql_id,config_id,path,description,version,create_time FROM
t_flink_app_backup GROUP BY app_id HAVING count(*) > 5"
###### But mysql8.0 sql_mode is
"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION",
so this clean task is always error.
So I think we can just get "FlinkApplicationBackup::getAppId" column.
<!--(For example: This pull request proposed to add checkstyle plugin).-->
## Brief change log
<!--*(for example:)*
- *Add maven-checkstyle-plugin to root pom.xml*
-->
## Verifying this change
<!--*(Please pick either of the following options)*-->
This change is a trivial rework / code cleanup without any test coverage.
*(or)*
This change is already covered by existing tests, such as *(please describe
tests)*.
*(or)*
This change added tests and can be verified as follows:
<!--*(example:)*
- *Added integration tests for end-to-end.*
- *Added *Test to verify the change.*
- *Manually verified the change by testing locally.* -->
## Does this pull request potentially affect one of the following parts
- Dependencies (does it add or upgrade a dependency): no
--
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]