Skip to content

design: avoid creating a name:value mapping each time we evaluate expression #233

@zyang-tudb

Description

@zyang-tudb

Currently we have to create a name:value mapping when evaluating expression against each row. Then every time we get a certain column value we have to look up this map. This is inefficient and unnecessary:

eval(expr)(ec.withVars(df.schema.map(_._1).zip(record).toMap)) match {

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions