AmoghAtreya commented on PR #42609:
URL: https://github.com/apache/superset/pull/42609#issuecomment-5596071355

   @rusackas thanks — fixed. The `to_period path` was effectively dead: 
resample anchors like `MS`/`QE`/`YE` aren’t valid Period freqs (need 
`M`/`Q`/`Y`), and on current pandas the Period delta is an offset (use `.n`), 
so `int(...)` always failed and we fell through to materializing date_range.
   
   It now maps those aliases, counts via Period `.n`, and falls back to a 
day-span upper bound — no `date_range` for the estimate. Added regression tests 
for that. Should be on the latest push.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to