Andrew Kane 7 rokov pred
rodič
commit
f38fd4494a
1 zmenil súbory, kde vykonal 4 pridanie a 0 odobranie
  1. 4 0
      lib/blazer/adapters/athena_adapter.rb

+ 4 - 0
lib/blazer/adapters/athena_adapter.rb

@@ -63,6 +63,10 @@ module Blazer
                 rows.each do |row|
                   row[i] = utc.parse(row[i])
                 end
+              when "date"
+                rows.each do |row|
+                  row[i] = Date.parse(row[i])
+                end
               when "bigint"
                 rows.each do |row|
                   row[i] = row[i].to_i