-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix Parquet statistics pruning for predicates satisfied by NaN #23735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
038cd0a
56e8bd3
340f072
8d83b2f
f108ead
e660abb
c8f2f7a
fe8d691
91c29f8
cc246ea
a0bdb64
8d18b6e
76f3e8c
bdb0f74
b751e33
aa395d7
0436397
571ef34
53bc990
7b5ad50
d43a356
205559d
16f4cae
819d3b0
66a7863
1e5de6f
e112963
b7bec07
67cf706
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -306,9 +306,8 @@ class stats_caster_base { | |
| */ | ||
| class stats_columns_collector : public ast::detail::expression_transformer { | ||
| public: | ||
| stats_columns_collector() = default; | ||
|
|
||
| stats_columns_collector(ast::expression const& expr, cudf::size_type num_columns); | ||
| stats_columns_collector(ast::expression const& expr, | ||
| std::span<cudf::data_type const> output_dtypes); | ||
|
igorpeshansky marked this conversation as resolved.
|
||
|
|
||
| /** | ||
| * @copydoc ast::detail::expression_transformer::visit(ast::literal const& ) | ||
|
|
@@ -340,7 +339,9 @@ class stats_columns_collector : public ast::detail::expression_transformer { | |
| std::pair<thrust::host_vector<bool>, bool> get_stats_columns_mask() &&; | ||
|
|
||
| protected: | ||
| size_type _num_columns; | ||
| explicit stats_columns_collector(std::span<cudf::data_type const> output_dtypes); | ||
|
|
||
| std::span<cudf::data_type const> _output_dtypes; | ||
|
|
||
| private: | ||
| thrust::host_vector<bool> _columns_mask; | ||
|
|
@@ -358,7 +359,7 @@ class stats_columns_collector : public ast::detail::expression_transformer { | |
| class stats_expression_converter : public stats_columns_collector { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Great catch. Handled in 8d18b6e
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Only partially.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's address this in a follow-up PR. |
||
| public: | ||
| stats_expression_converter(ast::expression const& expr, | ||
| size_type num_columns, | ||
| std::span<cudf::data_type const> output_dtypes, | ||
| bool has_is_null_operator, | ||
| cuda::stream_ref stream); | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.