[fix](column_complex) wrong type of Field returned by ColumnComplex (#43515) (#43860)

This commit is contained in:
Jerry Hu
2024-11-13 19:07:00 +08:00
committed by GitHub
parent d723aa3e78
commit 1101fbaf04
31 changed files with 193 additions and 113 deletions

View File

@ -154,7 +154,7 @@ TEST(function_array_element_test, element_at) {
{
InputTypeSet input_types = {TypeIndex::Array, TypeIndex::String, TypeIndex::Int32};
Array vec = {Field("abc", 3), Field("", 0), Field("def", 3)};
Array vec = {Field(String("abc", 3)), Field(String("", 0)), Field(String("def", 3))};
DataSet data_set = {{{vec, 1}, std::string("abc")},
{{vec, 2}, std::string("")},
{{vec, 10}, Null()},