Regression: failure when creating reflection on dataset which has a current_date criterium

I have a VDS whose definition includes a filter in the where clause such as

cast(ts as date) >= last_day(current_date) - INTERVAL ‘6’ DAY

The REFRESH REFLECTION is working fine, but the materialization does not seem to happen :
image

Dremio version is CE 17.0.0. This was working fine in Dremio 15.0

Is that an expected behavior ?

Apparently when I remove the call to the function last_day, materialization is working again.
Is this function not compatible with reflections ?

@dfleckinger Wondering if the VDS returned no rows with the FILTER? Do you have a profile? Check PARQUET WRITER on the one with FILTER and see if it is all zero