FANNG1 commented on PR #4102:
URL: https://github.com/apache/gravitino/pull/4102#issuecomment-2242597148

   discussed with @mchades , we could make `PartitionInfo` as abstract like 
this:
   ```java
   public abstract class PartitionInfo {
       PartitionInfo(String name, Map<String, String> properties) { xxx }
      
        public static PartitionInfo of(Partition partition) { xxx}
   }
   ```
   use `PartitionInfo.of(partition)` to create specific partitionInfos. 
@ian910297  could you modify the PR?


-- 
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]

Reply via email to