关注 spark技术分享,
撸spark源码 玩spark最佳实践

CreateNamedStructLike Contract

CreateNamedStructLike Contract

CreateNamedStructLike is the base of Catalyst expressions that FIXME.

CreateNamedStructLike is not nullable.

CreateNamedStructLike is foldable only if all value expressions are.

Table 1. CreateNamedStructLikes (Direct Implementations)
CreateNamedStructLike Description

CreateNamedStruct

CreateNamedStructUnsafe

Table 2. CreateNamedStructLike’s Internal Properties (e.g. Registries, Counters and Flags)
Name Description

dataType

nameExprs

Catalyst expressions for names

names

valExprs

Catalyst expressions for values

Checking Input Data Types — checkInputDataTypes Method

Note
checkInputDataTypes is part of the Expression Contract to verify (check the correctness of) the input data types.

checkInputDataTypes…​FIXME

Evaluating Expression — eval Method

Note
eval is part of Expression Contract for the interpreted (non-code-generated) expression evaluation, i.e. evaluating a Catalyst expression to a JVM object for a given internal binary row.

eval…​FIXME

赞(0) 打赏
未经允许不得转载:spark技术分享 » CreateNamedStructLike Contract
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏