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

ASF GitHub Bot logged work on BEAM-12883:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 30/Nov/21 21:34
            Start Date: 30/Nov/21 21:34
    Worklog Time Spent: 10m 
      Work Description: brachi-wernick commented on pull request #15699:
URL: https://github.com/apache/beam/pull/15699#issuecomment-983040862


   @aaltay I would say to merge it as additional dynamic coder(I mean addition 
to V1 and V2), we can open another JIRA ticket and PR to delete old coders as  
@pabloem  said. WDYT?
   This is not critical for now to merge it, but we will need it in the day 
someone will add more fields to Metadata class.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

    Worklog Id:     (was: 688308)
    Time Spent: 4h 20m  (was: 4h 10m)

> FileSystems ReadableFileCoder should support Metadata#lastModifiedMillis()
> --------------------------------------------------------------------------
>
>                 Key: BEAM-12883
>                 URL: https://issues.apache.org/jira/browse/BEAM-12883
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Brachi Packter
>            Assignee: Brachi Packter
>            Priority: P3
>          Time Spent: 4h 20m
>  Remaining Estimate: 0h
>
> Currently, there is a separated coder for Metadata which cares about 
> `Metadata#lastModifiedMillis()`.
> The issue is that the `ReadableFileCoder` always uses the default `Metadata` 
> coder.
> We need to create a similar coder for `ReadableFileCoder`: 
> ``ReadableFileCoderV2` which just use the corresponding `MetadataCoderV2`.
> Without doing so `lastModifiedMillis` will remain zero.
> There is also no way to create custom coder in our side since 
> `FileIO.ReadableFile` has no public method to initiate new instance of it.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to