apache/gravitino

[Improvement] Use SQL prepared statements in JdbcDatabaseOperations.java and PostgreSqlSchemaOperations.java

Open

#8,017 opened on Aug 11, 2025

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Java (887 forks)auto 404
good first issueimprovement

Repository metrics

Stars
 (3,058 stars)
PR merge metrics
 (PR metrics pending)

Description

What would you like to be improved?

In the exist method the SQL string can be changed to use safer prepared statements.

How should we improve?

generateDatabaseExistSql woudl need to change as well.

Contributor guide