169263 {
169264 auto width = DecimalType::GetWidth(result_type);
169265 auto scale = DecimalType::GetScale(result_type);
169266 switch (result_type.InternalType()) {
169268 return TemplatedTryCastDecimalVector<TryCastToDecimalCommaSeparated, int16_t>(
169269 options, input_vector, result_vector, count, parameters, width, scale, line_error);
169271 return TemplatedTryCastDecimalVector<TryCastToDecimalCommaSeparated, int32_t>(
169272 options, input_vector, result_vector, count, parameters, width, scale, line_error);
169274 return TemplatedTryCastDecimalVector<TryCastToDecimalCommaSeparated, int64_t>(
169275 options, input_vector, result_vector, count, parameters, width, scale, line_error);
169276 case PhysicalType::INT128:
169277 return TemplatedTryCastDecimalVector<TryCastToDecimalCommaSeparated, hugeint_t>(
169278 options, input_vector, result_vector, count, parameters, width, scale, line_error);
169279 default:
169280 throw InternalException("Unimplemented physical type for decimal");
169281 }
169282 }
void scale(cv::Mat &mat, const cv::Mat &range, const T min, const T max)
@ INT64
Signed 64-bit little-endian integer.
Definition duckdb.hpp:2767
@ INT16
Signed 16-bit little-endian integer.
Definition duckdb.hpp:2755
@ INT32
Signed 32-bit little-endian integer.
Definition duckdb.hpp:2761