You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from /home/crc/palo/be/src/runtime/decimal_value.h:34:0,
from /home/crc/palo/be/src/udf/udf.cpp:27:
/home/crc/palo/be/src/util/hash_util.hpp:303:8: error: redefinition of ‘struct std::hash<__int128>’
struct hash<__int128> {
^~~~~~~~~~~~~~
In file included from /usr/include/c++/6/bits/basic_string.h:5643:0,
from /usr/include/c++/6/string:52,
from /usr/include/c++/6/bits/locale_classes.h:40,
from /usr/include/c++/6/bits/ios_base.h:41,
from /usr/include/c++/6/ios:42,
from /usr/include/c++/6/ostream:38,
from /usr/include/c++/6/iostream:39,
from /home/crc/palo/be/src/udf/udf.cpp:23:
/usr/include/c++/6/bits/functional_hash.h:153:3: error: previous definition of ‘struct std::hash<__int128>’
_Cxx_hashtable_define_trivial_hash(__GLIBCXX_TYPE_INT_N_0)
^
Activity
imay commentedon Aug 16, 2017
看样子应该是GCC6支持了struct hash<__int128>,应该可以通过宏定义来把hash包起来
欢迎提PR。
crcc commentedon Aug 16, 2017
c++不熟,不知道hash用在哪里
g++ 定义的hash如下,只是简单的cast
// Explicit specializations for integer types.
#define _Cxx_hashtable_define_trivial_hash(_Tp)
template<>
struct hash<_Tp> : public __hash_base<size_t, _Tp>
{
size_t
operator()(_Tp __val) const noexcept
{ return static_cast<size_t>(__val); }
};
用这个靠谱吗?还是要用你们定义的?
imay commentedon Aug 16, 2017
这个hash函数用在了std::unordered_map中,如果你没法提交的话,可以简单注释掉我们自己实现的hash看看能否编译通过
morningman commentedon May 14, 2019
Not a problem anymore, using docker dev environment instead
[AGG] support multi-tablet no group AGG (apache#14)
[AGG] support multi-tablet no group AGG (apache#14)
[AGG] support multi-tablet no group AGG (apache#14)
[fix](ut) fix a potential memory leak in BE ut
Squashed commit of the following:
Squashed commit of the following: (#1)
Squashed commit of the following: (#2)
Co-authored-by: Luwei <[email protected]>
161 remaining items
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](be) Avoid scan executor shutdown use after free (#65220)
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](catalog) catalog-SPI abstraction-mismatch review: paimon time-t…
[fix](be) Avoid scan executor shutdown use after free (#65220)
[feature](fe) Support MTMV refresh fallback strategy (apache#14)
[feature](fe) Support MTMV refresh fallback strategy (apache#14)
[feature](fe) Support MTMV refresh fallback strategy (apache#14)
[feature](fe) Support MTMV refresh fallback strategy (apache#14)
[feature](fe) Support MTMV refresh fallback strategy (apache#14)