Skip to content

Commit 866c28b

Browse files
author
fotinosk
committed
cleanup
1 parent 2067d76 commit 866c28b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

python/pyarrow/src/arrow/python/python_to_arrow.cc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -827,16 +827,6 @@ class PyDictionaryConverter<U, enable_if_has_string_view<U>>
827827
} else {
828828
ARROW_RETURN_NOT_OK(
829829
PyValue::Convert(this->value_type_, this->options_, value, view_));
830-
// return this->value_builder_->Append(view_.bytes, static_cast<typename U::offset_type>(view_.size));
831-
832-
// if constexpr (
833-
// std::is_same<U, arrow::LargeStringType>::value ||
834-
// std::is_same<U, arrow::LargeBinaryType>::value) {
835-
// return this->value_builder_->Append(view_.bytes, static_cast<int64_t>(view_.size));
836-
// } else {
837-
// return this->value_builder_->Append(view_.bytes, static_cast<int32_t>(view_.size));
838-
// }
839-
840830
return this->value_builder_->Append(std::string_view(view_.bytes, view_.size));
841831
}
842832
}

0 commit comments

Comments
 (0)