Hisoka-X commented on code in PR #3986: URL: https://github.com/apache/incubator-seatunnel/pull/3986#discussion_r1090115601
########## docs/en/connector-v2/source/Jdbc.md: ########## @@ -36,14 +37,16 @@ supports query SQL and can achieve projection effect. | password | String | No | - | | query | String | Yes | - | | connection_check_timeout_sec | Int | No | 30 | +| split_type | String | No | NumericType | +| prefix | String | No | - | +| pattern | String | No | yyyy-MM-dd | Review Comment: Please add partition prefix, like `partition_split_type`, `partition_prefix`, `partition_pattern`, because it all belong partition series ########## seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/internal/split/AbstractParametersProvider.java: ########## @@ -0,0 +1,82 @@ +/* + * 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.connectors.seatunnel.jdbc.internal.split; + +import static com.google.common.base.Preconditions.checkArgument; + +import java.io.Serializable; + +public abstract class AbstractParametersProvider implements JdbcParameterValuesProvider { + + protected final long minVal; Review Comment: Why use long to store value, if split_key type is string, it not suit. -- 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]
