Skip to content

Commit

Permalink
remove replaceTablePlaceholder.
Browse files Browse the repository at this point in the history
  • Loading branch information
BruceWong96 committed Aug 30, 2024
1 parent 9e95dfe commit f50654f
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@

import com.google.auto.service.AutoService;

import java.util.Collections;

import static org.apache.seatunnel.connectors.seatunnel.hbase.config.HbaseConfig.ENCODING;
import static org.apache.seatunnel.connectors.seatunnel.hbase.config.HbaseConfig.FAMILY_NAME;
import static org.apache.seatunnel.connectors.seatunnel.hbase.config.HbaseConfig.HBASE_EXTRA_CONFIG;
Expand Down Expand Up @@ -70,11 +68,6 @@ public OptionRule optionRule() {

@Override
public TableSink createSink(TableSinkFactoryContext context) {
TableSinkFactoryContext.replacePlaceholderAndCreate(
context.getCatalogTable(),
context.getOptions(),
Thread.currentThread().getContextClassLoader(),
Collections.emptyList());
HbaseParameters hbaseParameters = HbaseParameters.buildWithConfig(context.getOptions());
CatalogTable catalogTable = context.getCatalogTable();
return () -> new HbaseSink(hbaseParameters, catalogTable);
Expand Down

0 comments on commit f50654f

Please sign in to comment.