-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEA] cuio: use datasource as the exclusive reader input argument #6185
Comments
The reason why we have a separate path for file names is because JSON and CSV derive compression type from the file extension. If we pass this information in a different way, we can remove the filepath overloads. |
Sounds like that makes this issue dependent on #6188 |
This issue has been marked rotten due to no recent activity in the past 90d. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. |
@cwharris can we close this one now? :) |
Internally, readers are instantiating datasources (from filepaths or otherwise), presumably out of convenience. This complicates the reader interfaces and implementation. Let's factor the readers filepath arguments in to explicit datasource initialization outside of the reader and accept
std::unique_ptr<datasource>
orstd::vector<std::unique_ptr<datasource>>
(in the case of parquet, for example) as file/data input exclusively.cudf/cpp/src/io/csv/reader_impl.hpp
Lines 78 to 81 in f4735c7
cudf/cpp/src/io/json/reader_impl.hpp
Lines 177 to 180 in f4735c7
cudf/cpp/src/io/orc/reader_impl.cu
Lines 817 to 823 in f4735c7
cudf/cpp/src/io/parquet/reader_impl.cu
Lines 1248 to 1253 in f4735c7
The text was updated successfully, but these errors were encountered: