influxdata / influxdata/influxdb-comparisons

Error when using TimescaleDB copyFrom format

Open
#169 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Go
Stars
313
Forks
110
PR merge metrics
No merged PRs in 30d

Description

When executing the following lines, I encounter multiple errors:
```
$GOPATH/bin/bulk_data_gen -format timescaledb-copyFrom | $GOPATH/bin/bulk_load_timescale
$GOPATH/bin/bulk_data_gen -format timescaledb-copyFrom | $GOPATH/bin/bulk_load_timescale -format timescaledb-copyFrom
```
Two types of such errors are as follows:
> cannot unmarshall 0 item: proto: FlatPoint: wiretype end group for non-group

> cannot unmarshall 0 item: proto: wrong wireType = 1 for field MeasurementName

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the two reported bulk_data_gen and bulk_load_timescale pipelines, then trace the timescaledb-copyFrom format through those entry points and the protobuf unmarshalling that reports the errors. Done means both commands process the generated data without the FlatPoint or MeasurementName wire-type errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, postgresql
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.