"cannot unmarshal string into Go" error in Lenses CLI client when querying data

Trying to query some data in a Kafka topic using the Lenses SQL engine and getting the error:

ubuntu@ip-172-31-41-199:~$ ./lenses-cli-linux-386 query --stats 'select MMSI from fast_vessel_processor LIMIT 2'`
[live: read json: [json: cannot unmarshal string into Go struct field MetaData.timestamp of type int]]`

Could be a problem with the version. Try using latest CLI client (5.1 can be downloaded from cli)

1 Like