注意:以下翻译的准确性尚未经过验证。这是使用 AIP ↗ 从原始英文文本进行的机器翻译。
支持于: 批处理, 流处理
计算数组的笛卡尔积。
表达式类别: 数组
输出类型: Array<Struct>
参数值:
first
, second
]first | second | 输出 |
---|---|---|
[ [ { s1: 1, }, { s1: 2, } ], [ { s1: 3, } ] ] | [ [ { s2: 4, }, { s2: 5, } ], [ { s2: 6, } ] ] | [ { first: [ { s1: 1, }, { s1: 2, } ], second: ... |
参数值:
first
, second
]first | second | 输出 |
---|---|---|
[ 1, 2 ] | [ 3, 4 ] | [ { first: 1, second: 3, }, { first: 1, second: ... |
参数值:
first
, second
, third
]first | second | third | 输出 |
---|---|---|---|
[ 1, 2 ] | [ word, a ] | [ { s1: 1, }, { s1: 2, } ] | [ { first: 1, second: word, third: { s1: 1, }... |
参数值:
first
, second
]first | second | 输出 |
---|---|---|
[ 1, null ] | [ null, 4 ] | [ { first: 1, second: null, }, { first: 1, second: ... |
[ 1, 2 ] | null | [ ] |
[ ] | [ ] | [ ] |
null | null | [ ] |