rapidsai/cudf
在 GitHub 查看[FEA] Change cudf::io::detail::make_column() to have a more verbose name.
Open
#11,391 建立於 2022年7月28日
cuIOgood first issueimprovementlibcudfproposal
倉庫指標
- Star
- (6,000 star)
- PR 合併指標
- (平均合併 17天 21小時) (30 天內合併 230 個 PR)
描述
std::unique_ptr<column> make_column(column_buffer& buffer,
column_name_info* schema_info,
rmm::cuda_stream_view stream,
rmm::mr::device_memory_resource* mr)
This is kind of a weakly named global function. Because its name is so generic, it doesn't play nice with users who might want to create their own, more appropriately named make_column that does some other work along the way. Changing this to column_from_column_buffer() or make_column_from_buffer(), or maybe making it a member of column_buffer would clean things up a bit
Eg.
// user function (in parquet code for example)
make_column(column_buffer &b)
{
// random preprocessing work
auto x = column_from_column_buffer(b);
// random postprocessing work
}