Merge remote-tracking branch 'upstream/master' into fix25

This commit is contained in:
proller 2019-09-17 12:31:31 +00:00
commit 8bf0841527
3 changed files with 14 additions and 2 deletions

View File

@ -224,8 +224,18 @@ private:
public:
bool hasZero() const { return has_zero; }
void setHasZero() { has_zero = true; }
void clearHasZero() { has_zero = false; }
void setHasZero()
{
has_zero = true;
new (zeroValue()) Cell();
}
void clearHasZero()
{
has_zero = false;
zeroValue()->~Cell();
}
Cell * zeroValue() { return reinterpret_cast<Cell*>(&zero_value_storage); }
const Cell * zeroValue() const { return reinterpret_cast<const Cell*>(&zero_value_storage); }

View File

@ -0,0 +1 @@
[[],[2]]

View File

@ -0,0 +1 @@
select groupUniqArray(v) from values('id int, v Array(int)', (1, [2]), (1, [])) group by id;