-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand Expr to include RexType basic support (#378)
* Make expr member of PyExpr public * Add RexType to Expr * Add utility functions for mapping ScalarValue instances to DataTypeMap instances * Add function to get python_value from Expr instance * Fix syntax problems * Add function to get the operands for a Rex::Call * Add function to get operator for RexType::Call * expand types function to include variant support for BinaryExpr * Add variant coverage for Decimal128 and Decimal256 * add function for getting the column name of an Expr from a LogicalPlan * Make PyProjection::projection member public * Add projected_expressions to projection node * Adjust function signature * Add Distinct variant to to_variant function in PyLogicalPlan * Fill in variants for DataType::Timestamp * Address syntax issues * Refactor types() function to extend support for CAST * Update CAST variant handling * Cargo fmt * Cargo clippy * Coverage for INTERVAL in DataType * More cargo fmt changes
- Loading branch information
Showing
4 changed files
with
414 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.