Skip to content

Commit

Permalink
[hotfix] Remove generic row for HiveTableFactory
Browse files Browse the repository at this point in the history
This closes apache#12324
  • Loading branch information
JingsongLi committed May 26, 2020
1 parent dc32661 commit 808c87d
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import org.apache.flink.table.factories.TableSourceFactory;
import org.apache.flink.table.sinks.TableSink;
import org.apache.flink.table.sources.TableSource;
import org.apache.flink.types.Row;
import org.apache.flink.util.Preconditions;

import org.apache.hadoop.hive.conf.HiveConf;
Expand All @@ -42,7 +41,7 @@
* A table factory implementation for Hive catalog.
*/
public class HiveTableFactory
implements TableSourceFactory<RowData>, TableSinkFactory<Row> {
implements TableSourceFactory<RowData>, TableSinkFactory {

private final HiveConf hiveConf;

Expand Down Expand Up @@ -79,7 +78,7 @@ public TableSource<RowData> createTableSource(TableSourceFactory.Context context
}

@Override
public TableSink<Row> createTableSink(TableSinkFactory.Context context) {
public TableSink createTableSink(TableSinkFactory.Context context) {
CatalogTable table = checkNotNull(context.getTable());
Preconditions.checkArgument(table instanceof CatalogTableImpl);

Expand Down

0 comments on commit 808c87d

Please sign in to comment.