Skip to content

Commit

Permalink
Add column type timestamp with time zone to athena adapter (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
til committed Sep 21, 2021
1 parent 6859fa3 commit 41d2cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/blazer/adapters/athena_adapter.rb
Expand Up @@ -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
Expand Down

0 comments on commit 41d2cd8

Please sign in to comment.