Skip to content

Commit

Permalink
Feature/issue 694 speed up asof join (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
yokofly authored May 10, 2024
1 parent 5c862a0 commit 8423708
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/Interpreters/RowRefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ class SortedLookupVector : public SortedLookupVectorBase


public:
using Keys = std::vector<TKey>;
using Entries = PaddedPODArray<Entry>;
using RowRefs = PaddedPODArray<RowRef>;
using Entries = PODArrayWithStackMemory<Entry, sizeof(Entry)>;
using RowRefs = PODArrayWithStackMemory<RowRef, sizeof(RowRef)>;

static constexpr bool is_descending = (inequality == ASOFJoinInequality::Greater || inequality == ASOFJoinInequality::GreaterOrEquals);
static constexpr bool is_strict = (inequality == ASOFJoinInequality::Less) || (inequality == ASOFJoinInequality::Greater);
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Jinja2==3.1.3
Jinja2==3.1.4
termcolor==2.0.1

0 comments on commit 8423708

Please sign in to comment.