Skip to content

Commit

Permalink
moved dtype_variant alias to public
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikeyann committed Nov 5, 2024
1 parent 15ef1d5 commit b2dd7cd
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions cpp/include/cudf/io/json.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,16 @@ enum class json_recovery_mode_t {
* | `chunksize` | use `byte_range_xxx` for chunking instead |
*/
class json_reader_options {
public:
using dtype_variant =
std::variant<std::vector<data_type>,
std::map<std::string, data_type>,
std::map<std::string, schema_element>,
schema_element>; ///< Variant type holding dtypes information for the columns

private:
source_info _source;

/**
* @brief Variant type holding dtypes information for the columns.
*/
using dtype_variant = std::variant<std::vector<data_type>,
std::map<std::string, data_type>,
std::map<std::string, schema_element>,
schema_element>;
// Data types of the column; empty to infer dtypes
dtype_variant _dtypes;
// Specify the compression format of the source or infer from file extension
Expand Down

0 comments on commit b2dd7cd

Please sign in to comment.