MCPcopy Create free account
hub / github.com/BlazingDB/blazingsql / parse_cudf_uint32

Method parse_cudf_uint32

engine/src/io/data_parser/sql/MySQLParser.cpp:183–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183uint8_t mysql_parser::parse_cudf_uint32(void *src, size_t col, size_t row, std::vector<uint32_t> *v )
184{
185 auto res = (sql::ResultSet*)src;
186 ++col; // mysql count columns starting from 1
187 uint32_t raw_data = res->getUInt(col);
188 if (res->wasNull()) return 0;
189 (*v)[row] = raw_data;
190 return 1;
191}
192
193uint8_t mysql_parser::parse_cudf_uint64(void *src, size_t col, size_t row, std::vector<uint64_t> *v)
194{

Callers 1

parse_sqlMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected