nan/inf in mysql handler #8941
Replies: 5 comments 11 replies
-
cc @sandflee |
Beta Was this translation helpful? Give feedback.
-
mysql has no inf or nan for float value, it can only accepts number or null. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
in logic_test, MySQL connector convert string to python float then we print the python float
|
Beta Was this translation helpful? Give feedback.
-
like python, golang ParseFloat support multi form toohttps://pkg.go.dev/strconv#ParseFloat |
Beta Was this translation helpful? Give feedback.
-
https://dev.mysql.com/doc/refman/5.7/en/problems-with-float.html
it
s
nan` herepython driver seems to like "nan"? @ariesdevil
mysql client display "NULL"
mysql jdbc not accept 'inf':
#8929 (comment)
Beta Was this translation helpful? Give feedback.
All reactions