[ 
https://issues.apache.org/jira/browse/AVRO-3507?focusedWorklogId=767715&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-767715
 ]

ASF GitHub Bot logged work on AVRO-3507:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/May/22 20:40
            Start Date: 08/May/22 20:40
    Worklog Time Spent: 10m 
      Work Description: jklamer commented on code in PR #1681:
URL: https://github.com/apache/avro/pull/1681#discussion_r867539505


##########
lang/rust/avro/examples/test_interop_single_object_encoding.rs:
##########
@@ -58,3 +63,15 @@ fn main() {
         .expect("Should encode");
     assert_eq!(file_message, generated_encoding)
 }
+
+fn test_read() {
+    let file_message = std::fs::read(format!("{}/test_message.bin", 
RESOURCES_FOLDER))

Review Comment:
   I can reuse. I'll just need to clone because `test_read` needs the owned 
value





Issue Time Tracking
-------------------

    Worklog Id:     (was: 767715)
    Time Spent: 0.5h  (was: 20m)

> [rust] Implement Single Object Reader
> -------------------------------------
>
>                 Key: AVRO-3507
>                 URL: https://issues.apache.org/jira/browse/AVRO-3507
>             Project: Apache Avro
>          Issue Type: New Feature
>            Reporter: Jack Klamer
>            Assignee: Jack Klamer
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The spec contains a definition for Single object Encoding: 
> https://avro.apache.org/docs/current/spec.html#single_object_encoding
> Rust should have a compatible reader



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to