twalthr commented on a change in pull request #8521: [FLINK-12601][table] Make
the DataStream & DataSet conversion to a Table independent from Calcite
URL: https://github.com/apache/flink/pull/8521#discussion_r289727679
##########
File path:
flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/table/operations/DataStreamTableOperation.java
##########
@@ -22,11 +22,17 @@
import org.apache.flink.streaming.api.datastream.DataStream;
import org.apache.flink.table.api.TableSchema;
+import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/**
* Describes a relational operation that reads from a {@link DataStream}.
+ *
+ * <p>This operation may expose only part, or change the order of the fields
available in a
+ * {@link org.apache.flink.api.common.typeutils.CompositeType} of the
underlying {@link DataStream}.
+ * The {@link DataSetTableOperation#getFieldIndices()} describes the mapping
between fields of the
Review comment:
`DataStream`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services