Skip to content

Business intelligence made simple

Add column type timestamp with time zone to athena adapter (#347)

Tilmann Singer41d2cd835389
diff --git a/lib/blazer/adapters/athena_adapter.rb b/lib/blazer/adapters/athena_adapter.rb
index 33ba6a5e..d62bc49d 100644
--- a/lib/blazer/adapters/athena_adapter.rb
+++ b/lib/blazer/adapters/athena_adapter.rb
@@ -60,7 +60,7 @@ module Blazer
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