cannot query table data without a specific column type

Open
#121 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
go
Domain
database

Research direction

Start by locating the Scan implementation and reproduce the reported call with cols := make([]any, 3) and sd.Scan(cols...). Trace where the dest[0] types must be *[]byte or *string error is produced; done means table data can be fetched without specifying a concrete column type.

Written by the indexing model from the issue text.

Description

I got the following errors:

dest[0] types must be *[]byte or *string

when I try to fetch all the data via:

cols := make([]any, 3)
sd.Scan(cols...)
Dominant language
Go
Stars
74
Forks
45
Avg merge
11d 13h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

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.

More from apache/iotdb-client-go

All issues in apache/iotdb-client-go

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.