cockroachdb / cockroachdb/cockroach
import: support native Avro decimal format
Open
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
Assessment
This issue has not been assessed yet.