Skip to content
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

Remove Expr::GetIndexedField, replace Expr::{field,index,range} with FieldAccessor, IndexAccessor, and SliceAccessor #10568

Merged
merged 10 commits into from
May 21, 2024
Prev Previous commit
Next Next commit
doc
Signed-off-by: jayzhan211 <[email protected]>
jayzhan211 committed May 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 5bf1d828ac5498c99995089e34e3ba53be684347
2 changes: 2 additions & 0 deletions datafusion/functions-array/src/expr_ext.rs
Original file line number Diff line number Diff line change
@@ -15,6 +15,8 @@
// specific language governing permissions and limitations
// under the License.

//! Extension methods for Expr.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very clever idea. Thank you @jayzhan211


use datafusion_expr::Expr;

use crate::extract::{array_element, array_slice};