Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MATLAB] Remove outdated MEX test class tArrowCppCall.m #37181

Closed
sgilmore10 opened this issue Aug 15, 2023 · 0 comments · Fixed by #37185
Closed

[MATLAB] Remove outdated MEX test class tArrowCppCall.m #37181

sgilmore10 opened this issue Aug 15, 2023 · 0 comments · Fixed by #37185

Comments

@sgilmore10
Copy link
Member

sgilmore10 commented Aug 15, 2023

Describe the enhancement requested

Now that featherread and featherwrite have been re-implemented in terms of the new APIs (matlab.internal.io.feather.Reader in #37046 and matlab.io.internal.feather.Writer in #37045), we can start removing the MEX code. To avoid submitting a large pull request, we should break the work down into several smaller, incremental steps.

The first step should involve deleting the outdated test class tArrowCppCall.m. This test class will no longer be relevant once the MEX source code is removed.

Component(s)

MATLAB

kevingurney pushed a commit that referenced this issue Aug 15, 2023
### Rationale for this change

Now that `featherread` and `featherwrite` have been re-implemented in terms of the new APIs (`matlab.internal.io.feather.Reader` in #37046 and `matlab.io.internal.feather.Writer` in #37045), we can start removing the MEX code. To avoid submitting a large pull request, we should break the work down into several smaller, incremental steps.

The first step should involve deleting the outdated test class `tArrowCppCall.m`. This test class will no longer be relevant once the MEX source code is removed.

### What changes are included in this PR?

1. Deleted the outdated test class `tArrowCppCall.m`

### Are these changes tested?

No tests necessary.

### Are there any user-facing changes?

No.

### Future Directions

1. Move the test cases in `test/tfeathermex.m` to `test/arrow/internal/io/feather/tRoundtrip.m`. These test cases directly call the MEX functions, so we will re-write the tests to utilize the `arrow.internal.io.feather.Reader` and `arrow.internal.io.feather.Writer` classes directly.
2. Delete `test/arrow/util/createVariablesAndMetadataStruct.m`
3. Delete `test/arrow/util/createTable.m`
4. Delete `test/arrow/util/featherMEXRoundTrip.m`
5. Delete `test/arrow/util/featherRoundTrip.m`
6. Remove MEX source code.
* Closes: #37181

Authored-by: Sarah Gilmore <sgilmore@mathworks.com>
Signed-off-by: Kevin Gurney <kgurney@mathworks.com>
@kevingurney kevingurney added this to the 14.0.0 milestone Aug 15, 2023
loicalleyne pushed a commit to loicalleyne/arrow that referenced this issue Nov 13, 2023
…apache#37185)

### Rationale for this change

Now that `featherread` and `featherwrite` have been re-implemented in terms of the new APIs (`matlab.internal.io.feather.Reader` in apache#37046 and `matlab.io.internal.feather.Writer` in apache#37045), we can start removing the MEX code. To avoid submitting a large pull request, we should break the work down into several smaller, incremental steps.

The first step should involve deleting the outdated test class `tArrowCppCall.m`. This test class will no longer be relevant once the MEX source code is removed.

### What changes are included in this PR?

1. Deleted the outdated test class `tArrowCppCall.m`

### Are these changes tested?

No tests necessary.

### Are there any user-facing changes?

No.

### Future Directions

1. Move the test cases in `test/tfeathermex.m` to `test/arrow/internal/io/feather/tRoundtrip.m`. These test cases directly call the MEX functions, so we will re-write the tests to utilize the `arrow.internal.io.feather.Reader` and `arrow.internal.io.feather.Writer` classes directly.
2. Delete `test/arrow/util/createVariablesAndMetadataStruct.m`
3. Delete `test/arrow/util/createTable.m`
4. Delete `test/arrow/util/featherMEXRoundTrip.m`
5. Delete `test/arrow/util/featherRoundTrip.m`
6. Remove MEX source code.
* Closes: apache#37181

Authored-by: Sarah Gilmore <sgilmore@mathworks.com>
Signed-off-by: Kevin Gurney <kgurney@mathworks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants