| 4369 | } |
| 4370 | |
| 4371 | std::shared_ptr<Array> SmallintArrayFromJSON(const std::string& json_data) { |
| 4372 | auto arr = ArrayFromJSON(int16(), json_data); |
| 4373 | auto ext_data = arr->data()->Copy(); |
| 4374 | ext_data->type = smallint(); |
| 4375 | return MakeArray(ext_data); |
| 4376 | } |
| 4377 | |
| 4378 | std::shared_ptr<Array> TinyintArrayFromJSON(const std::string& json_data) { |
| 4379 | auto arr = ArrayFromJSON(int8(), json_data); |