redpanda-data / redpanda-data/connect

Could the `sql_*` components provide logging of the query they are going to execute

Open
#2,995 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement sql ux
Dominant language
Go
Stars
8.8k
Forks
969
Avg merge
1d 13h
Merged PRs (30d)
64

Description

It would be useful if the sql_raw, sql_select and sql_insert components could log out the statement it is about to execute to allow debugging of any Bloblang mapping. Possibly as a TRACE level log.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the sql_raw, sql_select, and sql_insert component implementations and their tests; first trace where each statement is executed and how TRACE-level logging is handled. Done means all three components log the statement immediately before execution, with tests covering the logging behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
Domain
data-engineering, stream-processing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.