facebookincubator / velox

A composable and fully extensible C++ execution engine library for data management systems.
https://velox-lib.io/
Apache License 2.0
3.54k stars 1.17k forks source link

array_join: Presto and Velox return different results on Timestamp arrays #10869

Closed kagamiori closed 1 month ago

kagamiori commented 3 months ago

Description

Query:

SELECT 
  array_join(c0, c1, '') 
from 
  (
    values 
      (
        array[
          timestamp '1950-04-12 12:33:03.755'
        ], 
        '1224bdfg5ryrts'
      )
  ) t(c0, c1);

Presto-0.289: Returns 1950-04-12 12:33:03.755. Velox: Returns 1950-04-12 20:33:03.755.

Error Reproduction

No response

Relevant logs

No response

zuyu commented 3 months ago

10881 should have fixed this.