This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/cargo/main/proto-8afbff2258 in repository https://gitbox.apache.org/repos/asf/datafusion.git
omit e62a0ebe02 chore(deps): bump prost-build from 0.13.5 to 0.14.1 in the proto group add f03a8fd752 Fix parquet filter_pushdown: respect parquet filter pushdown config in scan (#16646) add 8366d6e155 chore(deps): bump aws-config from 1.8.0 to 1.8.1 (#16651) add d4ef26d336 Migrate core test to insta, part 2 (#16617) add 705ea42789 Update all spark SLT files (#16637) add 6870cc180f Add PhysicalExpr optimizer and cast unwrapping (#16530) new 4cda19e5b5 chore(deps): bump prost-build from 0.13.5 to 0.14.1 in the proto group This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (e62a0ebe02) \ N -- N -- N refs/heads/dependabot/cargo/main/proto-8afbff2258 (4cda19e5b5) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: Cargo.lock | 17 +- datafusion-cli/Cargo.toml | 2 +- .../combine_partial_final_agg.rs | 85 +- .../limited_distinct_aggregation.rs | 251 ++-- .../physical_optimizer/projection_pushdown.rs | 582 ++++++---- .../tests/physical_optimizer/sanity_checker.rs | 151 +-- .../core/tests/physical_optimizer/test_utils.rs | 21 +- datafusion/core/tests/sql/joins.rs | 107 +- datafusion/datasource-parquet/src/opener.rs | 10 + datafusion/datasource-parquet/src/source.rs | 13 +- .../unwrap_cast.rs => expr-common/src/casts.rs} | 1197 ++++++++------------ datafusion/expr-common/src/lib.rs | 1 + datafusion/optimizer/Cargo.toml | 1 + .../src/simplify_expressions/expr_simplifier.rs | 6 +- .../src/simplify_expressions/unwrap_cast.rs | 814 +------------ datafusion/physical-expr/src/lib.rs | 1 + datafusion/physical-expr/src/simplifier/mod.rs | 188 +++ .../physical-expr/src/simplifier/unwrap_cast.rs | 646 +++++++++++ datafusion/pruning/src/pruning_predicate.rs | 24 +- .../test_files/parquet_filter_pushdown.slt | 123 ++ .../test_files/spark/bitwise/bit_count.slt | 1 - .../test_files/spark/bitwise/bit_get.slt | 1 - .../test_files/spark/bitwise/getbit.slt | 1 - .../test_files/spark/bitwise/shiftright.slt | 1 - .../spark/bitwise/shiftrightunsigned.slt | 1 - .../test_files/spark/collection/concat.slt | 1 - .../test_files/spark/collection/reverse.slt | 1 - .../test_files/spark/conditional/coalesce.slt | 1 - .../test_files/spark/conditional/if.slt | 1 - .../test_files/spark/conditional/nullif.slt | 1 - .../test_files/spark/conditional/nvl2.slt | 1 - .../test_files/spark/csv/schema_of_csv.slt | 1 - .../test_files/spark/datetime/add_months.slt | 1 - .../test_files/spark/datetime/convert_timezone.slt | 1 - .../test_files/spark/datetime/curdate.slt | 1 - .../test_files/spark/datetime/current_date.slt | 1 - .../spark/datetime/current_timestamp.slt | 1 - .../test_files/spark/datetime/current_timezone.slt | 1 - .../test_files/spark/datetime/date_add.slt | 1 - .../test_files/spark/datetime/date_diff.slt | 1 - .../test_files/spark/datetime/date_format.slt | 1 - .../test_files/spark/datetime/date_part.slt | 1 - .../test_files/spark/datetime/date_sub.slt | 1 - .../test_files/spark/datetime/date_trunc.slt | 1 - .../test_files/spark/datetime/dateadd.slt | 1 - .../test_files/spark/datetime/datediff.slt | 1 - .../test_files/spark/datetime/datepart.slt | 1 - .../sqllogictest/test_files/spark/datetime/day.slt | 1 - .../test_files/spark/datetime/dayofmonth.slt | 1 - .../test_files/spark/datetime/dayofweek.slt | 1 - .../test_files/spark/datetime/dayofyear.slt | 1 - .../test_files/spark/datetime/hour.slt | 1 - .../test_files/spark/datetime/last_day.slt | 1 - .../test_files/spark/datetime/localtimestamp.slt | 1 - .../test_files/spark/datetime/make_date.slt | 1 - .../test_files/spark/datetime/make_dt_interval.slt | 1 - .../test_files/spark/datetime/make_timestamp.slt | 1 - .../spark/datetime/make_timestamp_ltz.slt | 1 - .../spark/datetime/make_timestamp_ntz.slt | 1 - .../test_files/spark/datetime/make_ym_interval.slt | 1 - .../test_files/spark/datetime/minute.slt | 1 - .../test_files/spark/datetime/month.slt | 1 - .../test_files/spark/datetime/months_between.slt | 1 - .../test_files/spark/datetime/next_day.slt | 1 - .../sqllogictest/test_files/spark/datetime/now.slt | 1 - .../test_files/spark/datetime/quarter.slt | 1 - .../test_files/spark/datetime/second.slt | 1 - .../test_files/spark/datetime/timestamp_micros.slt | 1 - .../test_files/spark/datetime/timestamp_millis.slt | 1 - .../spark/datetime/timestamp_seconds.slt | 1 - .../test_files/spark/datetime/to_date.slt | 1 - .../test_files/spark/datetime/to_timestamp.slt | 1 - .../test_files/spark/datetime/to_timestamp_ltz.slt | 1 - .../test_files/spark/datetime/to_timestamp_ntz.slt | 1 - .../spark/datetime/to_unix_timestamp.slt | 1 - .../test_files/spark/datetime/to_utc_timestamp.slt | 1 - .../test_files/spark/datetime/trunc.slt | 1 - .../test_files/spark/datetime/try_to_timestamp.slt | 1 - .../test_files/spark/datetime/unix_timestamp.slt | 1 - .../test_files/spark/datetime/weekday.slt | 1 - .../test_files/spark/datetime/weekofyear.slt | 1 - .../test_files/spark/datetime/year.slt | 1 - .../sqllogictest/test_files/spark/hash/crc32.slt | 1 - .../sqllogictest/test_files/spark/hash/md5.slt | 1 - .../sqllogictest/test_files/spark/hash/sha.slt | 1 - .../sqllogictest/test_files/spark/hash/sha1.slt | 1 - .../test_files/spark/json/get_json_object.slt | 1 - .../test_files/spark/json/json_object_keys.slt | 1 - .../sqllogictest/test_files/spark/math/abs.slt | 1 - .../sqllogictest/test_files/spark/math/acos.slt | 1 - .../sqllogictest/test_files/spark/math/acosh.slt | 1 - .../sqllogictest/test_files/spark/math/asin.slt | 1 - .../sqllogictest/test_files/spark/math/asinh.slt | 1 - .../sqllogictest/test_files/spark/math/atan.slt | 1 - .../sqllogictest/test_files/spark/math/atan2.slt | 1 - .../sqllogictest/test_files/spark/math/atanh.slt | 1 - .../sqllogictest/test_files/spark/math/bin.slt | 1 - .../sqllogictest/test_files/spark/math/bround.slt | 1 - .../sqllogictest/test_files/spark/math/cbrt.slt | 1 - .../sqllogictest/test_files/spark/math/ceil.slt | 1 - .../sqllogictest/test_files/spark/math/ceiling.slt | 1 - .../sqllogictest/test_files/spark/math/conv.slt | 1 - .../sqllogictest/test_files/spark/math/cos.slt | 1 - .../sqllogictest/test_files/spark/math/cosh.slt | 1 - .../sqllogictest/test_files/spark/math/cot.slt | 1 - .../sqllogictest/test_files/spark/math/csc.slt | 1 - .../sqllogictest/test_files/spark/math/degrees.slt | 1 - .../sqllogictest/test_files/spark/math/e.slt | 1 - .../sqllogictest/test_files/spark/math/exp.slt | 1 - .../sqllogictest/test_files/spark/math/floor.slt | 1 - .../test_files/spark/math/greatest.slt | 1 - .../sqllogictest/test_files/spark/math/hypot.slt | 1 - .../sqllogictest/test_files/spark/math/least.slt | 1 - .../sqllogictest/test_files/spark/math/ln.slt | 1 - .../sqllogictest/test_files/spark/math/log.slt | 1 - .../sqllogictest/test_files/spark/math/log10.slt | 1 - .../sqllogictest/test_files/spark/math/log1p.slt | 1 - .../sqllogictest/test_files/spark/math/log2.slt | 1 - .../sqllogictest/test_files/spark/math/mod.slt | 1 - .../test_files/spark/math/negative.slt | 1 - .../sqllogictest/test_files/spark/math/pi.slt | 1 - .../sqllogictest/test_files/spark/math/pmod.slt | 1 - .../test_files/spark/math/positive.slt | 1 - .../sqllogictest/test_files/spark/math/pow.slt | 1 - .../sqllogictest/test_files/spark/math/power.slt | 1 - .../sqllogictest/test_files/spark/math/radians.slt | 1 - .../sqllogictest/test_files/spark/math/rand.slt | 1 - .../sqllogictest/test_files/spark/math/randn.slt | 1 - .../sqllogictest/test_files/spark/math/random.slt | 1 - .../sqllogictest/test_files/spark/math/rint.slt | 1 - .../sqllogictest/test_files/spark/math/round.slt | 1 - .../sqllogictest/test_files/spark/math/sec.slt | 1 - .../test_files/spark/math/shiftleft.slt | 1 - .../sqllogictest/test_files/spark/math/sign.slt | 1 - .../sqllogictest/test_files/spark/math/signum.slt | 1 - .../sqllogictest/test_files/spark/math/sin.slt | 1 - .../sqllogictest/test_files/spark/math/sinh.slt | 1 - .../sqllogictest/test_files/spark/math/sqrt.slt | 1 - .../sqllogictest/test_files/spark/math/tan.slt | 1 - .../sqllogictest/test_files/spark/math/tanh.slt | 1 - .../sqllogictest/test_files/spark/math/try_add.slt | 1 - .../test_files/spark/math/try_divide.slt | 1 - .../test_files/spark/math/try_multiply.slt | 1 - .../test_files/spark/math/try_subtract.slt | 1 - .../test_files/spark/math/width_bucket.slt | 1 - .../test_files/spark/misc/assert_true.slt | 1 - .../test_files/spark/misc/current_catalog.slt | 1 - .../test_files/spark/misc/current_database.slt | 1 - .../test_files/spark/misc/current_schema.slt | 1 - .../test_files/spark/misc/current_user.slt | 1 - .../test_files/spark/misc/equal_null.slt | 1 - .../spark/misc/input_file_block_length.slt | 1 - .../spark/misc/input_file_block_start.slt | 1 - .../test_files/spark/misc/input_file_name.slt | 1 - .../test_files/spark/misc/java_method.slt | 1 - .../spark/misc/monotonically_increasing_id.slt | 1 - .../sqllogictest/test_files/spark/misc/reflect.slt | 1 - .../test_files/spark/misc/spark_partition_id.slt | 1 - .../sqllogictest/test_files/spark/misc/typeof.slt | 1 - .../sqllogictest/test_files/spark/misc/user.slt | 1 - .../sqllogictest/test_files/spark/misc/uuid.slt | 1 - .../sqllogictest/test_files/spark/misc/version.slt | 1 - .../test_files/spark/predicate/ilike.slt | 1 - .../test_files/spark/predicate/isnotnull.slt | 1 - .../test_files/spark/predicate/isnull.slt | 1 - .../test_files/spark/predicate/like.slt | 1 - .../test_files/spark/string/base64.slt | 1 - .../test_files/spark/string/bit_length.slt | 1 - .../sqllogictest/test_files/spark/string/btrim.slt | 1 - .../test_files/spark/string/char_length.slt | 1 - .../test_files/spark/string/character_length.slt | 1 - .../sqllogictest/test_files/spark/string/chr.slt | 1 - .../test_files/spark/string/concat_ws.slt | 1 - .../test_files/spark/string/contains.slt | 1 - .../test_files/spark/string/decode.slt | 1 - .../sqllogictest/test_files/spark/string/elt.slt | 1 - .../test_files/spark/string/encode.slt | 1 - .../test_files/spark/string/endswith.slt | 1 - .../test_files/spark/string/find_in_set.slt | 1 - .../test_files/spark/string/format_number.slt | 1 - .../test_files/spark/string/format_string.slt | 1 - .../test_files/spark/string/initcap.slt | 1 - .../sqllogictest/test_files/spark/string/instr.slt | 1 - .../sqllogictest/test_files/spark/string/lcase.slt | 1 - .../sqllogictest/test_files/spark/string/left.slt | 1 - .../sqllogictest/test_files/spark/string/len.slt | 1 - .../test_files/spark/string/length.slt | 1 - .../test_files/spark/string/levenshtein.slt | 1 - .../test_files/spark/string/locate.slt | 1 - .../sqllogictest/test_files/spark/string/lower.slt | 1 - .../sqllogictest/test_files/spark/string/lpad.slt | 1 - .../sqllogictest/test_files/spark/string/ltrim.slt | 1 - .../test_files/spark/string/luhn_check.slt | 1 - .../sqllogictest/test_files/spark/string/mask.slt | 1 - .../test_files/spark/string/octet_length.slt | 1 - .../test_files/spark/string/position.slt | 1 - .../test_files/spark/string/printf.slt | 1 - .../test_files/spark/string/repeat.slt | 1 - .../test_files/spark/string/replace.slt | 1 - .../sqllogictest/test_files/spark/string/right.slt | 1 - .../sqllogictest/test_files/spark/string/rpad.slt | 1 - .../sqllogictest/test_files/spark/string/rtrim.slt | 1 - .../test_files/spark/string/sentences.slt | 1 - .../test_files/spark/string/soundex.slt | 1 - .../test_files/spark/string/split_part.slt | 1 - .../test_files/spark/string/startswith.slt | 1 - .../test_files/spark/string/substr.slt | 1 - .../test_files/spark/string/substring.slt | 1 - .../test_files/spark/string/substring_index.slt | 1 - .../test_files/spark/string/to_binary.slt | 1 - .../test_files/spark/string/to_char.slt | 1 - .../test_files/spark/string/to_number.slt | 1 - .../test_files/spark/string/to_varchar.slt | 1 - .../test_files/spark/string/translate.slt | 1 - .../sqllogictest/test_files/spark/string/trim.slt | 1 - .../test_files/spark/string/try_to_binary.slt | 1 - .../test_files/spark/string/try_to_number.slt | 1 - .../sqllogictest/test_files/spark/string/ucase.slt | 1 - .../test_files/spark/string/unbase64.slt | 1 - .../sqllogictest/test_files/spark/string/upper.slt | 1 - .../test_files/spark/struct/named_struct.slt | 1 - .../test_files/spark/struct/struct.slt | 1 - .../test_files/spark/url/parse_url.slt | 1 - .../test_files/spark/url/url_decode.slt | 1 - .../test_files/spark/url/url_encode.slt | 1 - .../sqllogictest/test_files/spark/xml/xpath.slt | 1 - .../test_files/spark/xml/xpath_boolean.slt | 1 - .../test_files/spark/xml/xpath_string.slt | 1 - 228 files changed, 2181 insertions(+), 2267 deletions(-) copy datafusion/{optimizer/src/simplify_expressions/unwrap_cast.rs => expr-common/src/casts.rs} (55%) create mode 100644 datafusion/physical-expr/src/simplifier/mod.rs create mode 100644 datafusion/physical-expr/src/simplifier/unwrap_cast.rs --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@datafusion.apache.org For additional commands, e-mail: commits-h...@datafusion.apache.org