Skip to content

Account for memory used in SortKeyCursor by row format (spilling Sort) #3609

Description

@alamb

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As noted by @yjshen in https://github.com/apache/arrow-datafusion/pull/3386/files#r966573456, #3386 switches DataFusion to use a faster comparison method, but does not update the used memory calculation.

Describe the solution you'd like
We need to track the total memory used by all cursors since the cursor now holds Rows.

Describe alternatives you've considered
N/A

Additional context
See above

Metadata

Metadata

Assignees

No one assigned

    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