Hisoka-X commented on code in PR #7158: URL: https://github.com/apache/seatunnel/pull/7158#discussion_r1673495321
########## seatunnel-api/src/main/java/org/apache/seatunnel/api/table/catalog/VectorIndex.java: ########## @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.seatunnel.api.table.catalog; + +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.io.Serializable; + +@AllArgsConstructor +@Builder +@NoArgsConstructor +@Data +public class VectorIndex implements Serializable { + + private String indexName; + + private String fieldName; + + private String indexType; + + private String metricType; +} Review Comment: ditto ########## seatunnel-api/src/main/java/org/apache/seatunnel/api/table/catalog/TableSchema.java: ########## @@ -68,6 +72,10 @@ public static final class Builder { private final List<ConstraintKey> constraintKeys = new ArrayList<>(); + private final List<VectorIndex> vectorIndexes = new ArrayList<>(); + + private Boolean enableDynamicField; Review Comment: Please add some comment to tell other developer what's used for? And how/when to use it? -- 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: commits-unsubscr...@seatunnel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org