Closed megies closed 3 years ago
Ok, it seems to only happen with sqlite (in a test environment of mine):
2014-07-04 15:39:04+0200 [HTTPChannel,3,10.153.82.50] /home/megies/python_seishub/lib/python2.7/site-packages/sqlalchemy/types.py:215: sqlalchemy.exc.SAWarning: Dialect sqlite+pysqlite does *not* support Decimal objects natively, and SQLAlchemy must convert from floating point - rounding errors and other issues may occur. Please consider storing Decimal numbers as strings or integers on this platform for lossless storage.
wontfix
When indexing an xml resource, numeric values (e.g. magnitude) of
0.0
get stored as null/None/empty string in db.