File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -185,8 +185,8 @@ class ArrowBridgeArrayExportTest : public testing::Test {
185185 << " mismatch at index " << i;
186186 break ;
187187 default :
188- VELOX_USER_FAIL (fmt::format (
189- " Timestamp unit not supported: {}." , options_.timestampUnit ));
188+ VELOX_USER_FAIL (
189+ " Timestamp unit not supported: {}." ,static_cast < int >( options_.timestampUnit ));
190190 }
191191 } else {
192192 EXPECT_EQ (inputData[i], values[i]) << " mismatch at index " << i;
@@ -1033,8 +1033,8 @@ class ArrowBridgeArrayImportTest : public ArrowBridgeArrayExportTest {
10331033 rawValues[i] = inputValues[i]->toNanos ();
10341034 break ;
10351035 default :
1036- VELOX_USER_FAIL (fmt::format (
1037- " Timestamp unit not supported: {}." , options_.timestampUnit ));
1036+ VELOX_USER_FAIL (
1037+ " Timestamp unit not supported: {}." ,static_cast < int >( options_.timestampUnit ));
10381038 }
10391039 } else {
10401040 rawValues[i] = *inputValues[i];
@@ -1179,8 +1179,8 @@ class ArrowBridgeArrayImportTest : public ArrowBridgeArrayExportTest {
11791179 << " mismatch at index " << i;
11801180 break ;
11811181 default :
1182- VELOX_USER_FAIL (fmt::format (
1183- " Timestamp unit not supported: {}." , options_.timestampUnit ));
1182+ VELOX_USER_FAIL (
1183+ " Timestamp unit not supported: {}." , static_cast < int >( options_.timestampUnit ));
11841184 }
11851185 }
11861186 } else {
You can’t perform that action at this time.
0 commit comments