We can use next syntax in clickhouse:
select id, max(value1), any(value2) from scheme.table group by id
Any returns one of possible values and its behaviors isn't determinate. Is something like this in vertica?
I understand I can just use max or min functions but I need faster way
According to https://docs.vertica.com/23.4.x/en/sql-reference/functions/, no direct analog
but you could try use FIRST_VALUE + ORDER BY RANDOM()