create table tmp(c0 INTEGER, c1 VARCHAR);
insert into tmp values(1, null), (1, 'a'), (2,'b'),(2, null);
select c0, first(c1) from tmp group by c0;
select c0, last(c1) from tmp group by c0;
This issue make result assertion hard.
System information
Velox System Info v0.0.2
Commit: Not in a git repo.
CMake Version: 3.20.2
System: Linux-5.10.134-13.al8.x86_64
Arch: x86_64
C++ Compiler: /usr/lib64/ccache/c++
C++ Compiler Version: 10.2.1
C Compiler: /usr/lib64/ccache/cc
C Compiler Version: 10.2.1
CMake Prefix Path: /usr/local;/usr;/;/usr;/usr/local;/usr/X11R6;/usr/pkg;/opt
Bug description
PR #4532 find DuckDB in some case may return error results.
This PR give a test case to reproduce bug.
Reproduce
Add this test in velox/exec/tests/QueryAssertionsTest.cpp
log output:
DuckDB
But I can not reproduce it on DuckDB Shell
This issue make result assertion hard.
System information
Velox System Info v0.0.2 Commit: Not in a git repo. CMake Version: 3.20.2 System: Linux-5.10.134-13.al8.x86_64 Arch: x86_64 C++ Compiler: /usr/lib64/ccache/c++ C++ Compiler Version: 10.2.1 C Compiler: /usr/lib64/ccache/cc C Compiler Version: 10.2.1 CMake Prefix Path: /usr/local;/usr;/;/usr;/usr/local;/usr/X11R6;/usr/pkg;/opt
Relevant logs
No response