| 4422 | } |
| 4423 | |
| 4424 | std::shared_ptr<Array> SmallintArrayFromJSON(const std::string& json_data) { |
| 4425 | auto arr = ArrayFromJSON(int16(), json_data); |
| 4426 | auto ext_data = arr->data()->Copy(); |
| 4427 | ext_data->type = smallint(); |
| 4428 | return MakeArray(ext_data); |
| 4429 | } |
| 4430 | |
| 4431 | std::shared_ptr<Array> TinyintArrayFromJSON(const std::string& json_data) { |
| 4432 | auto arr = ArrayFromJSON(int8(), json_data); |