You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "CurtHagenlocher (via GitHub)" <gi...@apache.org> on 2024/09/14 13:41:13 UTC
[PR] GH-43267: [C#] Correctly import sliced arrays through the C Data interface [arrow]
CurtHagenlocher opened a new pull request, #44117:
URL: https://github.com/apache/arrow/pull/44117
### What changes are included in this PR?
Changes to the C Data importer to correctly handle nonzero offsets.
### Are these changes tested?
Yes
### Are there any user-facing changes?
No
Closes #43267
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-43267: [C#] Correctly import sliced arrays through the C Data interface [arrow]
Posted by "conbench-apache-arrow[bot] (via GitHub)" <gi...@apache.org>.
conbench-apache-arrow[bot] commented on PR #44117:
URL: https://github.com/apache/arrow/pull/44117#issuecomment-2352463495
After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 9ba789d1115494b00e6772a3170c8ba2f1a9a02c.
There was 1 benchmark result indicating a performance regression:
- Commit Run on `amd64-m5-4xlarge-linux` at [2024-09-16 03:37:55Z](https://conbench.ursa.dev/compare/runs/22d7fc94380d4b1b9d472ef7db64e21e...9fd20ff73c8943f0bd24fb49400e0b82/)
- [`dataset-serialize` (Python) with dataset=nyctaxi_multi_ipc_s3, format=arrow, selectivity=10pc](https://conbench.ursa.dev/compare/benchmarks/066e610102d979e08000a2c240b42c46...066e7bfce0d571a5800071a03d32b5ca)
The [full Conbench report](https://github.com/apache/arrow/runs/30190355231) has more details. It also includes information about 97 possible false positives for unstable benchmarks that are known to sometimes produce them.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-43267: [C#] Correctly import sliced arrays through the C Data interface [arrow]
Posted by "CurtHagenlocher (via GitHub)" <gi...@apache.org>.
CurtHagenlocher commented on PR #44117:
URL: https://github.com/apache/arrow/pull/44117#issuecomment-2351001422
@adamreeve, I would appreciate a quick look at these changes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-43267: [C#] Correctly import sliced arrays through the C Data interface [arrow]
Posted by "adamreeve (via GitHub)" <gi...@apache.org>.
adamreeve commented on code in PR #44117:
URL: https://github.com/apache/arrow/pull/44117#discussion_r1760359783
##########
csharp/src/Apache.Arrow/Apache.Arrow.csproj:
##########
@@ -7,18 +7,16 @@
<Description>Apache Arrow is a cross-language development platform for in-memory data. It specifies a standardized language-independent columnar memory format for flat and hierarchical data, organized for efficient analytic operations on modern hardware.</Description>
</PropertyGroup>
- <PropertyGroup Condition="'$(IsWindows)'=='true'">
+ <PropertyGroup>
Review Comment:
Just checking this was intentionally included in the PR? Seems reasonable to now build for net462 on non-Windows too, this built fine for me on Linux and I guess something made sure the reference assemblies / targeting pack was available.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-43267: [C#] Correctly import sliced arrays through the C Data interface [arrow]
Posted by "CurtHagenlocher (via GitHub)" <gi...@apache.org>.
CurtHagenlocher commented on code in PR #44117:
URL: https://github.com/apache/arrow/pull/44117#discussion_r1760460704
##########
csharp/src/Apache.Arrow/Apache.Arrow.csproj:
##########
@@ -7,18 +7,16 @@
<Description>Apache Arrow is a cross-language development platform for in-memory data. It specifies a standardized language-independent columnar memory format for flat and hierarchical data, organized for efficient analytic operations on modern hardware.</Description>
</PropertyGroup>
- <PropertyGroup Condition="'$(IsWindows)'=='true'">
+ <PropertyGroup>
Review Comment:
It was intentional, though arguably I should have put it into a separate PR. What I didn't realize when adding net462 support back was that the official NuGet packages aren't built on Windows and so they were missing the 4.6.2 assembly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-43267: [C#] Correctly import sliced arrays through the C Data interface [arrow]
Posted by "CurtHagenlocher (via GitHub)" <gi...@apache.org>.
CurtHagenlocher commented on code in PR #44117:
URL: https://github.com/apache/arrow/pull/44117#discussion_r1759738355
##########
csharp/src/Apache.Arrow/C/CArrowArrayImporter.cs:
##########
@@ -148,6 +148,11 @@ public RecordBatch GetAsRecordBatch(Schema schema)
}
private ArrayData GetAsArrayData(CArrowArray* cArray, IArrowType type)
+ {
Review Comment:
Derp; forgot to revert this
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-43267: [C#] Correctly import sliced arrays through the C Data interface [arrow]
Posted by "CurtHagenlocher (via GitHub)" <gi...@apache.org>.
CurtHagenlocher merged PR #44117:
URL: https://github.com/apache/arrow/pull/44117
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org