Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Commit

Permalink
[484] delete commented code (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
imaffe authored Jan 3, 2022
1 parent 5410763 commit f79d868
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,6 @@ public boolean isEndOfStream(RowData nextElement) {

@Override
public TypeInformation<RowData> getProducedType() {
/* DataType dataType = TypeConversions.fromClassToDataType(clazz).
orElseThrow(() -> new IllegalStateException(clazz.getCanonicalName() + "cant cast to flink dataType"));
RowType.RowField rowField = new RowType.RowField("value", dataType.getLogicalType());
List<RowType.RowField> fields = Collections.singletonList(rowField);
return (TypeInformation<Row>) TypeConversions.fromDataTypeToLegacyInfo(TypeConversions.fromLogicalToDataType(new RowType(fields)));*/

// return (TypeInformation<Row>) TypeConversions.fromDataTypeToLegacyInfo(dataType);

List<DataTypes.Field> mainSchema = new ArrayList<>();
DataType dataType =
TypeConversions.fromClassToDataType(clazz)
Expand Down

0 comments on commit f79d868

Please sign in to comment.