| 41 | |
| 42 | sub_test_case("unexpected-field-behavior") do |
| 43 | def setup |
| 44 | @options = Arrow::JSONReadOptions.new |
| 45 | field = Arrow::Field.new("message", Arrow::StringDataType.new) |
| 46 | schema = Arrow::Schema.new([field]) |
| 47 | @options.schema = schema |
| 48 | end |
| 49 | |
| 50 | def test_ignore |
| 51 | @options.unexpected_field_behavior = :ignore |