ClickHouse / ClickHouse/ch-go

[Question] How to decode Array(Tuple()) column

Open
#227 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
428
Forks
84
Avg merge
9d 6h
Merged PRs (30d)
4

Description

Hi, I have the following column in my schema

```sql
map_arr Map(Int32, Array(Tuple(String, Array(Int32))))
```

But I couldn't find a way to create a `ColArr` of type `ColTuple`. I am new to go-lang, so it might very well be my ignorance.

I am not using the connection/query, but rather using the proto.* with `DecodeRawBlock` as described in native dump reading section to build an executable UDF.

Also, the `Dump` section in main `README.md` do not pass `version` for `DecodeRawBlock` and `EncodeRawBlock` as the current latest version requires, and it wasn't obvious which version to use.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.