[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reverse the order of fields in Flink SQL

I think I have already done that in my custom sink.

  public String[] getFieldNames() {
    return this.fieldNames;

  public TypeInformation<?>[] getFieldTypes() {

    return this.fieldTypes;

  public TableSink<Row> configure(String[] fieldNames, TypeInformation<?>[]
fieldTypes) {
    this.fieldNames = fieldNames;
    this.fieldTypes = fieldTypes;
    return this;

Sent from: