You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/query/plan/cascades/expressions/ExplodeExpression.java
+12-15Lines changed: 12 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -56,13 +56,10 @@
56
56
* A table function expression that “explodes” a repeated field into a stream of its values.
57
57
*
58
58
* <p>In the {@code WITH ORDINALITY} variant, it also generates 1-based ordinals of the field values. In this case it
59
-
* produces a struct with fields {@code {_element, _ordinal}} instead of the bare element.
59
+
* produces a struct with two anonymous fields—the element and the ordinal—instead of the bare element.
Copy file name to clipboardExpand all lines: fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/query/plan/cascades/properties/DerivationsProperty.java
Copy file name to clipboardExpand all lines: fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/query/plan/plans/RecordQueryExplodePlan.java
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -75,8 +75,8 @@
75
75
* value to Java type {@code List<?>}, and then produces one {@link QueryResult} datum per array element.
76
76
*
77
77
* <p>In the {@code WITH ORDINALITY} variant, {@code EXPLODE} also generates ordinals of the array elements. In this
78
-
* case the plan produces a {@link DynamicMessage} struct with fields {@code {_element, _ordinal}} instead of
79
-
* the bare element. The ordinals are 1-based per the SQL standard (Foundation, Section 4.10.2).
78
+
* case the plan produces a {@link DynamicMessage} struct with two anonymous fields (the element and the ordinal)
79
+
* instead of the bare element. The ordinals are 1-based per the SQL standard (Foundation, Section 4.10.2).
80
80
*
81
81
* @see RecordQueryFlatMapPlan
82
82
*/
@@ -85,7 +85,7 @@ public class RecordQueryExplodePlan extends AbstractRelationalExpressionWithoutC
Copy file name to clipboardExpand all lines: fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/query/plan/plans/RecordQueryFlatMapPlan.java
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -66,12 +66,6 @@
66
66
* A {@code FLATMAP} plan node. {@code FLATMAP} implements correlated lateral joins by executing an inner plan for each
67
67
* row produced by a “driving” outer plan and combining the results. The inner plan may reference the outer row via
68
68
* correlation. The outer and inner rows are combined by applying the {@link #resultValue} expression.
69
-
*
70
-
* <p>{@code FLATMAP} and {@code EXPLODE} are the runtime backbone of array unnesting. For example, for a simple
71
-
* unnesting query {@code SELECT … FROM T, T.ARR AS A}, the outer plan scans {@code T} and the inner plan explodes the
Copy file name to clipboardExpand all lines: fdb-relational-core/src/main/java/com/apple/foundationdb/relational/recordlayer/query/LogicalOperator.java
0 commit comments