Skip to content

[C++] Accept Scalar Types Consistently in RunEndEncodedBuilder::AppendScalar and RunEndEncodedBuilder::AppendScalars #50508

Description

@andishgar

Describe the enhancement requested

While RunEndEncodedBuilder::AppendScalar accepts the following API usage:

builder.AppendScalar(**MakeScalar(float32(), 0), 3);

// Or
builder.AppendScalar(**MakeScalar(ree_type, *MakeScalar(float32(), 0)), 2);

RunEndEncodedBuilder::AppendScalars, however, only accepts the following style:

builder.AppendScalars({
    *MakeScalar(ree_type, *MakeScalar(float32(), 0)),
    *MakeScalar(ree_type, *MakeScalar(float32(), 0))
});

Component(s)

C++

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions