rapidsai/cudf

[FEA] Change cudf::io::detail::make_column() to have a more verbose name.

Open

#11.391 aberto em 28 de jul. de 2022

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)C++ (735 forks)batch import
cuIOgood first issueimprovementlibcudfproposal

Métricas do repositório

Stars
 (6.000 stars)
Métricas de merge de PR
 (Mesclagem média 17d 21h) (230 fundiu PRs em 30d)

Description

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
}

Guia do colaborador