Skip to content

cannot query table data without a specific column type #121

Open

Description

@LinuxSuRen

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...)

Activity

  1. LinuxSuRen commented on Mar 26, 2025

    @LinuxSuRen
    ContributorAuthor

    It appears that the data is always being converted based on its type. I’m curious to know if there’s a way to have it return the raw value directly instead.

    func (s *IoTDBRpcDataSet) scan(dest ...interface{}) error {

  2. LinuxSuRen commented on Mar 27, 2025

    @LinuxSuRen
    ContributorAuthor

    By the way, what I'm doing is letting atest to support iotDB. Of course, it will be an extension of atest. Hopefully, users can operate iotDB via web UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions