Skip to content

Would the following fix the issue of not wanting to convert array to object? #1064

@nitisht

Description

@nitisht
          Would the following fix the issue of not wanting to convert array to object?
    let data = if time_partition.is_some() || custom_partition.is_some() {
        convert_array_to_object(
            body_val,
            time_partition.as_ref(),
            time_partition_limit,
            custom_partition.as_ref(),
            schema_version,
        )?
    }  else {
        vec![body_val]
    };

Originally posted by @de-sh in #1058 (comment)

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions