[
https://issues.apache.org/jira/browse/ARROW-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425987#comment-16425987
]
ASF GitHub Bot commented on ARROW-2385:
---------------------------------------
andygrove commented on a change in pull request #1829: ARROW-2385: [Rust]
implement to_json for DataType and Field
URL: https://github.com/apache/arrow/pull/1829#discussion_r179241398
##########
File path: rust/src/datatypes.rs
##########
@@ -87,8 +235,8 @@ mod tests {
use super::*;
#[test]
- fn test_define_schema() {
- let _person = Schema::new(vec![
+ fn create_struct_type() {
+ let _person = DataType::Struct(vec![
Review comment:
I think Schema is becoming redundant. I'm still using it in my project to
define a `RecordBatch` but I could switch to using a `Vec<Field>` instead. Do
you want to file a JIRA for removing Schema?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> [Rust] Implement to_json() for Field and DataType
> -------------------------------------------------
>
> Key: ARROW-2385
> URL: https://issues.apache.org/jira/browse/ARROW-2385
> Project: Apache Arrow
> Issue Type: New Feature
> Components: Rust
> Reporter: Andy Grove
> Assignee: Andy Grove
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.10.0
>
>
> Implementing JSON representation of DataType and Field as per Arrow
> specifications.
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)