mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 09:05:47 +08:00
remove default case from switch to make any omission a compile-time error
This commit is contained in:
1 parent
a87c3ba990
commit
8983ae629f
1 file changed
+3
-2
@@ -53,9 +53,10 @@ std::string ParquetVersionToString(ParquetVersion::type ver) {
|
||||
return "1.0";
|
||||
case ParquetVersion::PARQUET_2_0:
|
||||
return "2.0";
|
||||
default:
|
||||
return "UNKNOWN";
|
||||
}
|
||||
|
||||
// This should be unreachable
|
||||
return "UNKNOWN";
|
||||
}
|
||||
|
||||
template <typename DType>
|
||||
|
||||
Reference in new issue
Block a user