lszskye commented on code in PR #202:
URL: https://github.com/apache/paimon-cpp/pull/202#discussion_r3781515674


##########
src/paimon/common/data/columnar/columnar_array.cpp:
##########
@@ -56,11 +56,10 @@ Decimal ColumnarArray::GetDecimal(int32_t pos, int32_t 
precision, int32_t scale)
 
 Timestamp ColumnarArray::GetTimestamp(int32_t pos, int32_t precision) const {
     using ArrayType = typename 
arrow::TypeTraits<arrow::TimestampType>::ArrayType;
-    auto array = arrow::internal::checked_cast<const ArrayType*>(array_);
+    auto array = checked_cast<const ArrayType*>(array_);
     assert(array);

Review Comment:
   no assert here?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to