You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "sgilmore10 (via GitHub)" <gi...@apache.org> on 2023/06/28 17:00:18 UTC
[GitHub] [arrow] sgilmore10 opened a new pull request, #36361: GH-36359: [MATLAB] Add support for Timestamp arrays to RecordBatch
sgilmore10 opened a new pull request, #36361:
URL: https://github.com/apache/arrow/pull/36361
### Rationale for this change
Now that we have a `TimestampArray` class in MATLAB, we should add support for `TimestampArray` columns in `RecordBatch`.
### What changes are included in this PR?
You can now create a `RecordBatch` with a `TimestampArray` column:
```matlab
>> Date = datetime(2023, 6, 28) + days(0:2)';
>> DayNumber = weekday(Date);
>> t = table(Date, DayNumber)
t =
3×2 table
Date DayNumber
___________ _________
28-Jun-2023 4
29-Jun-2023 5
30-Jun-2023 6
>> rb = arrow.tabular.RecordBatch(t)
rb =
Date: [
2023-06-28 00:00:00.000000,
2023-06-29 00:00:00.000000,
2023-06-30 00:00:00.000000
]
DayNumber: [
4,
5,
6
]
``
### Are these changes tested?
Yes, the `SupportedTypes` unit test in `tRecordBatch.m` was updated to verify we support creating record batches with timestamp data.
### Are there any user-facing changes?
1. Users can create record batches with timestamp data now.
--
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
[GitHub] [arrow] kou merged pull request #36361: GH-36359: [MATLAB] Add support for Timestamp arrays to RecordBatch
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou merged PR #36361:
URL: https://github.com/apache/arrow/pull/36361
--
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
[GitHub] [arrow] conbench-apache-arrow[bot] commented on pull request #36361: GH-36359: [MATLAB] Add support for Timestamp arrays to RecordBatch
Posted by "conbench-apache-arrow[bot] (via GitHub)" <gi...@apache.org>.
conbench-apache-arrow[bot] commented on PR #36361:
URL: https://github.com/apache/arrow/pull/36361#issuecomment-1617631851
Conbench analyzed the 6 benchmark runs on commit `c0dd99f3`.
There were no benchmark performance regressions. 🎉
The [full Conbench report](https://github.com/apache/arrow/runs/14731560276) has more details.
--
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