diff --git a/velox/exec/ContainerRowSerde.cpp b/velox/exec/ContainerRowSerde.cpp index f6bba959d34a..3e97070337f3 100644 --- a/velox/exec/ContainerRowSerde.cpp +++ b/velox/exec/ContainerRowSerde.cpp @@ -167,8 +167,6 @@ void serializeOne( ByteOutputStream& out) { auto map = vector.wrappedVector()->asUnchecked(); auto wrappedIndex = vector.wrappedIndex(index); - auto size = map->sizeAt(wrappedIndex); - auto offset = map->offsetAt(wrappedIndex); auto indices = map->sortedKeyIndices(wrappedIndex); serializeArray(*map->mapKeys(), indices, out); serializeArray(*map->mapValues(), indices, out);