Skip to content

Commit

Permalink
[core] FileStore should not be serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
JingsongLi committed Jul 29, 2024
1 parent c9e62d7 commit 46127c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions paimon-core/src/main/java/org/apache/paimon/FileStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,14 @@

import javax.annotation.Nullable;

import java.io.Serializable;
import java.util.List;

/**
* File store interface.
*
* @param <T> type of record to read and write.
*/
public interface FileStore<T> extends Serializable {
public interface FileStore<T> {

FileStorePathFactory pathFactory();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@
/** {@link FileStore} for querying and updating {@link KeyValue}s. */
public class KeyValueFileStore extends AbstractFileStore<KeyValue> {

private static final long serialVersionUID = 1L;

private final boolean crossPartitionUpdate;
private final RowType bucketKeyType;
private final RowType keyType;
Expand Down

0 comments on commit 46127c2

Please sign in to comment.