Exception is caused by SelectiveDecimalColumnReader::scanSpec_::valueHook_ != nullptr when the physical type of decimal is int64_t and aggregation push-down is enabled.
I see that currently only int128_t doesn't enable push-down for SelectiveDecimalColumnReader, but decimal also can be int64_t. Perhaps, we should let int64_t do this as well.
System information
Velox System Info v0.0.2
Commit: 33928e00
CMake Version: 3.29.6
System: Linux-3.10.0-862.mt20190308.130.el7.x86_64
Arch: x86_64
C++ Compiler: /opt/rh/devtoolset-10/root/usr/bin/c++
C++ Compiler Version: 10.2.1
C Compiler: /opt/rh/devtoolset-10/root/usr/bin/cc
C Compiler Version: 10.2.1
Bug description
Exception is caused by
SelectiveDecimalColumnReader::scanSpec_::valueHook_ != nullptr
when the physical type of decimal isint64_t
and aggregation push-down is enabled.I see that currently only int128_t doesn't enable push-down for
SelectiveDecimalColumnReader
, but decimal also can beint64_t
. Perhaps, we should letint64_t
do this as well.System information
Velox System Info v0.0.2 Commit: 33928e00 CMake Version: 3.29.6 System: Linux-3.10.0-862.mt20190308.130.el7.x86_64 Arch: x86_64 C++ Compiler: /opt/rh/devtoolset-10/root/usr/bin/c++ C++ Compiler Version: 10.2.1 C Compiler: /opt/rh/devtoolset-10/root/usr/bin/cc C Compiler Version: 10.2.1
Relevant logs
No response