cockroachdb / cockroachdb/cockroach

import: support native Avro decimal format

Open
#138,850 0 comments 0 reactions 0 assignees View on GitHub
A-import C-cleanup T-sql-queries
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Currently we only support importing Avro decimals only if they are provided as Go string type (as opposed to "native" `avro.Decimal` type) https://github.com/cockroachdb/cockroach/blob/88a839af0e935d0d071f09ea3ede9b584dd46b81/pkg/sql/importer/read_import_avro.go#L198. We should clean this up because it [forces](https://cockroachlabs.slack.com/archives/CHVV403F0/p1736541625919189?thread_ts=1736531623.116659&cid=CHVV403F0) users to do some pre-processing their avro files to import into CRDB.

Jira issue: CRDB-46374

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.