| 522 | }; |
| 523 | |
| 524 | TEST_P(CodecTest, TranscodingWithDataType) |
| 525 | { |
| 526 | /// Gorilla and ALP can only be applied to floating point columns |
| 527 | const auto & codec_statement = std::get<0>(GetParam()).codec_statement; |
| 528 | const bool codec_is_float_point = codec_statement.contains("Gorilla") || codec_statement.contains("ALP"); |
| 529 | const WhichDataType which(std::get<1>(GetParam()).data_type.get()); |
| 530 | const bool data_is_float = which.isFloat(); |
| 531 | if (codec_is_float_point && !data_is_float) |
| 532 | GTEST_SKIP() << "Skipping Float-point-compressed non-float column"; |
| 533 | |
| 534 | const auto codec = makeCodec(CODEC_WITH_DATA_TYPE); |
| 535 | testTranscoding(*codec); |
| 536 | } |
| 537 | |
| 538 | |
| 539 | // Param is tuple-of-tuple to simplify instantiating with values, since typically group of cases test only one codec. |
nothing calls this directly
no test coverage detected