Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-11232

[C++] Table::CombineChunks() returns incorrect results if Table has no column

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 3.0.0
    • C++

    Description

      >>> pa.table([[1]], ["a"])
      pyarrow.Table
      a: int64
      >>> t = pa.table([[1]], ["a"])
      >>> t.num_rows
      1
      >>> t1 = t.drop(["a"])
      >>> t1.num_rows
      1
      >>> t2 = t1.combine_chunks()
      >>> t2.num_rows
      0

      Attachments

        Issue Links

          Activity

            People

              brillsp Zhuo Peng
              brillsp Zhuo Peng
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m