From 41d2cd8353893d527fca37aa52464a3c3c5aca31 Mon Sep 17 00:00:00 2001 From: Tilmann Singer Date: Tue, 21 Sep 2021 02:54:48 +0200 Subject: [PATCH] Add column type timestamp with time zone to athena adapter (#347) --- lib/blazer/adapters/athena_adapter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/blazer/adapters/athena_adapter.rb b/lib/blazer/adapters/athena_adapter.rb index 33ba6a5ef..d62bc49dc 100644 --- a/lib/blazer/adapters/athena_adapter.rb +++ b/lib/blazer/adapters/athena_adapter.rb @@ -60,7 +60,7 @@ def run_statement(statement, comment) column_types.each_with_index do |ct, i| # TODO more column_types case ct - when "timestamp" + when "timestamp", "timestamp with time zone" rows.each do |row| row[i] &&= utc.parse(row[i]) end