PDIO-342 Save query time as event time