durgaprasadml commented on PR #41263:
URL: https://github.com/apache/superset/pull/41263#issuecomment-4761690890

   Thanks for the fix. The previous implementation relied on truthiness checks 
and could unintentionally drop valid falsy values such as 0, [], or None during 
field renaming. Checking key presence instead of value truthiness looks correct 
and preserves the intended behavior.
   
   One thing that may be worth adding is a test covering the case where both 
the deprecated and modern field names are supplied simultaneously (e.g. 
timeseries_limit and series_limit) to explicitly document the expected 
precedence behavior.


-- 
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