Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/3791#discussion_r114061878
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/table.scala
---
@@ -309,6 +308,42 @@ class Table(
}
/**
+ * Joins this [[Table]] to a user-defined
[[org.apache.calcite.schema.TableFunction]]. Similar
+ * to an SQL left outer join with ON TRUE, but it works with a table
function. It returns all
--- End diff --
I think the description of the outer join is confusing.
In the sentence "... all the rows from the outer table (table on the left
of the operator), and rows that do not match the condition from the table
function"
1. it should be "that do match the condition"
2. there is no condition
3. it reads as the rows of the left side and table function would be
unioned.
I think we can assume that the user knows how a left join works. We should
simply say that the each row of the outer table is joined with each row
produced by the table function call and that the outer row is padded with nulls
if the table function returns an empty table.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---