You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the field type in the data table is Tuple(Tuple(UInt16, UInt16), Tuple(UInt16, UInt16)), an error will be reported when querying using the database/sql interface. An error will also be reported when using the native interface to query without specifying a specific type.
Describe the bug
When the field type in the data table is Tuple(Tuple(UInt16, UInt16), Tuple(UInt16, UInt16)), an error will be reported when querying using the
database/sql
interface. An error will also be reported when using thenative
interface to query without specifying a specific type.Steps to reproduce
Expected behaviour
The following code runs the query and it should execute normally.
Code example
1. Query using
database/sql
interfaceThe error message:
panic at
rows.Next
2. Query using
native
interface (Use reflection type to receive)The error message:
panic at
rows.Scan
, TheScanType
of columnsegment
is returned as[]interface{}
, Using the[][]interface{}
type receives normallyThis code can run successfully.
Configuration
Environment
ClickHouse server
CREATE TABLE
statements for tables involved: exist in previous stepsThe text was updated successfully, but these errors were encountered: