79222086

Date: 2024-11-25 07:51:19
Score: 0.5
Natty:
Report link

We had issues with decimal precision: there are different approaches, but in our experience, best solution is avoid them. Casting to string, will use double later when required. We didn't cast to double initially because for huge tables it required too much memory, but casting to string initally (reading the DF) and later to decimal (just before saving) was best approach (only required columns were casted to double)

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Low reputation (1):
Posted by: Álvaro de Lucas