Skip to content

[Bug]: min/max/sum of metadata_scan is not human readable #11396

Closed

Description

@aunjgr

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):
- Hardware parameters:
- OS type:
- Others:

Actual Behavior

newInfo.Max = zm.GetMaxBuf()
newInfo.Min = zm.GetMinBuf()
newInfo.Sum = zm.GetSumBuf()

case plan.MetadataScanInfo_MIN: // TODO: find a way to show this info
vector.AppendBytes(opBat.Vecs[i], info.Min, false, mp)
case plan.MetadataScanInfo_MAX: // TODO: find a way to show this info
vector.AppendBytes(opBat.Vecs[i], info.Max, false, mp)
case plan.MetadataScanInfo_SUM: // TODO: find a way to show this info
vector.AppendBytes(opBat.Vecs[i], info.Sum, false, mp)

It directly puts the binary into []byte, which is neither human-readable nor operable.

Expected Behavior

No response

Steps to Reproduce

No response

Additional information

No response

Activity

  1. added
    kind/bug
    on Aug 22, 2023
  2. added this to the 1.0.0 milestone on Aug 22, 2023
  3. added
    priority/p0
    and removed on Aug 22, 2023
  4. modified the milestones: 1.0.0, 1.1.0 on Aug 22, 2023
  5. assigned and unassigned on Aug 22, 2023
  6. aunjgr commented on Sep 8, 2023

    @aunjgr
    ContributorAuthor

    resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugpriority/p0

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions