AbsaOSS / enceladus

Dynamic Conformance Engine
Apache License 2.0
31 stars 14 forks source link

Update Database so dates are as dates and not string #540

Open Zejnilovic opened 5 years ago

Zejnilovic commented 5 years ago

Background

Currently, we do a lot of searches and filters based on time, but our time format in Menas is mainly string, which then disallows us from using Mongo optimizations for time based operations.

Feature

Update Database so dates are as dates and not string

GeorgiChochov commented 5 years ago

The complication here is that we have API users reading the data as is it currently is, we need to handle this with notice of deprecation of the old model, providing the updated alternative (with date type) for an undecided period to allow the switch over before we can remove the old string-date model.