| 1258 | } |
| 1259 | |
| 1260 | std::vector<LogicalTypeID> LogicalTypeUtils::getNumericalLogicalTypeIDs() { |
| 1261 | auto integerTypes = getIntegerTypeIDs(); |
| 1262 | auto floatingPointTypes = getFloatingPointTypeIDs(); |
| 1263 | integerTypes.insert(integerTypes.end(), floatingPointTypes.begin(), floatingPointTypes.end()); |
| 1264 | // integerTypes.push_back(LogicalTypeID::DECIMAL); // fixed point numeric |
| 1265 | return integerTypes; |
| 1266 | } |
| 1267 | |
| 1268 | std::vector<LogicalTypeID> LogicalTypeUtils::getAllValidLogicTypeIDs() { |
| 1269 | return std::vector<LogicalTypeID>{LogicalTypeID::INTERNAL_ID, LogicalTypeID::BOOL, |