-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-11174: [C++][Dataset] Make expressions available to projection #9532
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
389fb4a
b468aa2
9807ce3
0224dbb
678d414
1db35a1
161cdc6
ba7fd49
38d77a4
d697e5c
d559fcc
032f9f5
b8485c3
61e460b
695fb71
ac9f074
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 |
|---|---|---|
|
|
@@ -115,10 +115,25 @@ struct CompareOptions : public FunctionOptions { | |
| }; | ||
|
|
||
| struct ARROW_EXPORT ProjectOptions : public FunctionOptions { | ||
| explicit ProjectOptions(std::vector<std::string> n) : field_names(std::move(n)) {} | ||
| ProjectOptions(std::vector<std::string> n, std::vector<bool> r, | ||
| std::vector<std::shared_ptr<const KeyValueMetadata>> m) | ||
| : field_names(std::move(n)), | ||
| field_nullability(std::move(r)), | ||
|
||
| field_metadata(std::move(m)) {} | ||
|
|
||
| explicit ProjectOptions(std::vector<std::string> n) | ||
| : field_names(std::move(n)), | ||
| field_nullability(field_names.size(), true), | ||
| field_metadata(field_names.size(), NULLPTR) {} | ||
|
|
||
| /// Names for wrapped columns | ||
| std::vector<std::string> field_names; | ||
|
|
||
| /// Nullability bits for wrapped columns | ||
| std::vector<bool> field_nullability; | ||
|
|
||
| /// Metadata attached to wrapped columns | ||
| std::vector<std::shared_ptr<const KeyValueMetadata>> field_metadata; | ||
|
||
| }; | ||
|
|
||
| /// @} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mrkn https://issues.apache.org/jira/browse/ARROW-11782
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I will create a new pull-request to remove the bindings of these internal classes.