| 4444 | } |
| 4445 | |
| 4446 | std::shared_ptr<Array> SmallintArrayFromJSON(const std::string& json_data) { |
| 4447 | auto arr = ArrayFromJSON(int16(), json_data); |
| 4448 | auto ext_data = arr->data()->Copy(); |
| 4449 | ext_data->type = smallint(); |
| 4450 | return MakeArray(ext_data); |
| 4451 | } |
| 4452 | |
| 4453 | std::shared_ptr<Array> TinyintArrayFromJSON(const std::string& json_data) { |
| 4454 | auto arr = ArrayFromJSON(int8(), json_data); |