Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Failed to update savepoint status #4134

Open
1 of 3 tasks
succw opened this issue Nov 13, 2024 · 0 comments
Open
1 of 3 tasks

[Bug] Failed to update savepoint status #4134

succw opened this issue Nov 13, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@succw
Copy link

succw commented Nov 13, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

Java Version

1.8.

Scala Version

2.11.x

StreamPark Version

2.1.1

Flink Version

1.17.1

deploy mode

None

What happened

From version 2.1.1 to 2.1.5 update

Error Exception

### The error may exist in class path resource [mapper/core/SavepointMapper.xml]
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: update t_flink_savepoint         set latest = 0         where app_id = ?
### Cause: org.postgresql.util.PSQLException: ERROR: column "latest" is of type boolean but expression is of type integer
  Hint: You will need to rewrite or cast the expression.
  Position: 47
]

---

UPDATE t_flink_savepoint
SET latest = CAST(0 AS BOOLEAN)  -- Explicitly cast 0 to BOOLEAN
WHERE app_id = ?;

Screenshots

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!(您是否要贡献这个PR?)

Code of Conduct

@succw succw added the bug Something isn't working label Nov 13, 2024
@wolfboys wolfboys self-assigned this Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants