| 477 | bool is_bool(const std::string & token) { return (token == "true" || token == "false"); } |
| 478 | |
| 479 | bool is_join_expression(const std::string & token) { |
| 480 | static const std::regex re("=[/(][/$][0-9]{1,4},[ ][/$][0-9]{1,4}[/)]"); |
| 481 | bool ret = std::regex_match(token, re); |
| 482 | return ret; |
| 483 | } |
| 484 | |
| 485 | bool is_SQL_data_type(const std::string & token) { |
| 486 | static std::vector<std::string> CALCITE_DATA_TYPES = { |
no outgoing calls
no test coverage detected