redpanda-data / redpanda-data/connect
Cassandra output component arg_mapping type conversion issue
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 8.8k
- Forks
- 969
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 64
Description
When using args_mapping it's failing to convert the string into a stricter inf.Dec type that Cassandra expects.
I’ve tried passing the value in both string and float formats, but in both cases, I encounter conversion errors:
When sent as string → Failed to send message: can not marshal string into decimal
When sent as float → Failed to send message: can not marshal float64 into decimal
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Cassandra output component and its args_mapping handling. Reproduce the conversion errors with the reported string and float inputs, then verify that the resulting value is accepted as Cassandra's decimal type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cassandra, go
- Domain
- data-engineering, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100