Skip to content

Commit

Permalink
bump delta kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
samansmink committed Jun 10, 2024
1 parent a2d6601 commit ab61885
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ endif()
ExternalProject_Add(
${KERNEL_NAME}
GIT_REPOSITORY "https://github.com/delta-incubator/delta-kernel-rs"
GIT_TAG 08f0764a00e89f42136fd478823d28278adc7ee8
GIT_TAG 823367e4dc13b627914412ee2ca7933a1c7b822a
CONFIGURE_COMMAND ""
UPDATE_COMMAND ""
BUILD_IN_SOURCE 1
Expand Down
4 changes: 2 additions & 2 deletions src/delta_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ static unordered_map<string, TableFilter*> PrunePredicates(unordered_map<string,
}

uintptr_t PredicateVisitor::VisitPredicate(PredicateVisitor* predicate, ffi::KernelExpressionVisitorState* state) {
auto filters = PrunePredicates(predicate->column_filters);
auto filters = predicate->column_filters;

auto it = filters.begin();
auto end = filters.end();
Expand Down Expand Up @@ -312,7 +312,7 @@ uintptr_t PredicateVisitor::VisitFilter(const string &col_name, const TableFilte
case TableFilterType::CONJUNCTION_AND:
return VisitAndFilter(col_name, static_cast<const ConjunctionAndFilter&>(filter), state);
default:
throw NotImplementedException("Attempted to push down unimplemented filter type: '%s'", EnumUtil::ToString(filter.filter_type));
return ~0;
}
}

Expand Down
7 changes: 0 additions & 7 deletions test/sql/dat/basic_append.test
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ FROM delta_scan('${DAT_PATH}/out/reader_tests/generated/basic_append/delta')
2
3

# TODO: Figure out what's wrong here
mode skip

# Now we add a filter that filters out one of the files
query II
SELECT letter, number
Expand All @@ -67,8 +64,6 @@ WHERE number < 2
----
a 1

mode unskip

# Now we add a filter that filters out the other file
query III
SELECT a_float, letter, number,
Expand All @@ -77,8 +72,6 @@ WHERE number > 4
----
5.5 e 5

mode skip

# Now we add a filter that filters out all columns
query III
SELECT a_float, number, letter
Expand Down

0 comments on commit ab61885

Please sign in to comment.