Skip to content

refactor: jdbc queries to add vars as arguments while execution#286

Open
vishalm0509 wants to merge 2 commits intostagingfrom
refactor/jdbc-queries
Open

refactor: jdbc queries to add vars as arguments while execution#286
vishalm0509 wants to merge 2 commits intostagingfrom
refactor/jdbc-queries

Conversation

@vishalm0509
Copy link
Collaborator

Description

Refactored SQL query construction in jdbc.go to avoid using fmt.Sprintf for injecting variables. Queries now pass parameters using QueryRow or Exec methods, ensuring better safety and preventing SQL injection risks.

Fixes #193

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Tested performing discover and sync commands for both ICEBERG AND PARQUET writer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant