Class: Hog::HiveSchema
Constant Summary collapse
- XLATEMAP =
{ "chararray" => "string" }
Instance Method Summary collapse
Methods inherited from PigSchema
Instance Method Details
#field(f) ⇒ Object
7 8 9 |
# File 'lib/hog/hive_schema.rb', line 7 def field(f) "#{f.name} #{XLATEMAP[f.type] || f.type}" end |