format timestamp

This commit is contained in:
GroovieGermanikus 2023-10-17 14:44:17 +02:00
parent 7a79dac7f1
commit ca293c8c42
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
1 changed files with 4 additions and 2 deletions

View File

@ -19,12 +19,14 @@ def RunQuery():
first_notification_slot,
cu_requested,
prioritization_fees,
-- "OCT 17 12:29:17.5127"
"timestamp",
to_char("timestamp", 'MON DD HH24:MI:SS.FF4') as timestamp_formatted,
accounts_used
FROM banking_stage_results.transaction_infos
WHERE true
ORDER BY "timestamp" DESC
) AS data
WHERE true
ORDER BY "timestamp"
""")
keys = [k[0] for k in cursor.description]