Business intelligence made simple
Added date support
Andrew Kanef38fd4494a2e
diff --git a/lib/blazer/adapters/athena_adapter.rb b/lib/blazer/adapters/athena_adapter.rbindex 57aa10af..e18d40db 100644--- a/lib/blazer/adapters/athena_adapter.rb+++ b/lib/blazer/adapters/athena_adapter.rb@@ -63,6 +63,10 @@ module Blazerrows.each do |row|row[i] = utc.parse(row[i])end+ when "date"+ rows.each do |row|+ row[i] = Date.parse(row[i])+ endwhen "bigint"rows.each do |row|row[i] = row[i].to_i