Skip to content

Columns of type SimpleAggregateFunction(anyLast, JSON) break on insertion #1644

@bripkens

Description

@bripkens

Observed

  1. Use SimpleAggregateFunction(anyLast, JSON) as a column type.
  2. Try inserting data via clickhouse-go
  3. code: 117, message: Invalid version for Object structure serialization: 2337205944442161920

Expected behaviour

Code example

Reproducer in the form of an extension to your integration tests:

bripkens@bd9a87b

Error log

        	Error:      	Received unexpected error:
        	            	code: 117, message: Invalid version for Object structure serialization: 2337205944442161920
        	Test:       	TestSimpleAggregateFunction/Native
--- FAIL: TestSimpleAggregateFunction/Native (3.09s)

Details

Environment

Your integration tests. See bripkens@bd9a87b

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions