Skip to content

Commit

Permalink
Revert unneeded changes
Browse files Browse the repository at this point in the history
  • Loading branch information
CurtHagenlocher committed Sep 14, 2024
1 parent 1f8105b commit 46bf41b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions csharp/src/Apache.Arrow/C/CArrowArrayImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,6 @@ public RecordBatch GetAsRecordBatch(Schema schema)
}

private ArrayData GetAsArrayData(CArrowArray* cArray, IArrowType type)
{
return GetAsArrayData(cArray, type, checked((int)cArray->offset), checked((int)cArray->length));
}

private ArrayData GetAsArrayData(CArrowArray* cArray, IArrowType type, int offset, int length)
{
ArrayData[] children = null;
ArrowBuffer[] buffers = null;
Expand Down Expand Up @@ -244,7 +239,7 @@ private ArrayData[] ProcessListChildren(CArrowArray* cArray, IArrowType type)
}

ArrayData[] children = new ArrayData[1];
children[0] = GetAsArrayData(cArray->children[0], type, checked((int)cArray->offset), checked((int)cArray->length));
children[0] = GetAsArrayData(cArray->children[0], type);
return children;
}

Expand Down

0 comments on commit 46bf41b

Please sign in to comment.