| 1105 | } |
| 1106 | |
| 1107 | int32_t GetDecimalTypePrecision(const std::shared_ptr<DataType>& decimal_type) { |
| 1108 | auto decimal128_type = std::dynamic_pointer_cast<Decimal128Type>(decimal_type); |
| 1109 | return decimal128_type->precision(); |
| 1110 | } |
| 1111 | |
| 1112 | std::optional<bool> AsBool(const std::string& value) { |
| 1113 | if (boost::iequals(value, "true") || boost::iequals(value, "1")) { |
no test coverage detected