kadubhumika commented on issue #74023:
URL: https://github.com/apache/airflow/issues/74023#issuecomment-5980340964

   > The numeric value is the same, right?
   > 
   > So i don't see why this is actually an issue.
   
   Thanks for pointing that out. Yes, the numerical value is equivalent. The 
issue I was addressing is the change in representation after the value is 
stored in PostgreSQL JSONB and read back.
   For example, 1.7E308 is initially deserialized as a Python float, but 
PostgreSQL JSONB canonicalizes the number into an expanded decimal form. When 
Airflow reads it back, Python's JSON deserialization interprets that expanded 
value as a very large int.
   My PR fixes this PostgreSQL JSONB round-trip so that the original 
floating-point representation is preserved instead of changing from float to 
int. If threre is any iisues in pr please do tell me i will fix it!


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

Reply via email to