Skip to content

Make MockContextRunWrapper subscriptable #27

@umitbuyuksahin

Description

@umitbuyuksahin

Background:

  • In variadic UDFs, parameters are retrieved from context as if from a list.
  • For example: ctx[0] gets the first parameter of the UDF
  • However, MockContextRunWrapper does not provide this.

Acceptance criteria

  • Make MockContextRunWrapper subscriptable implementing __getitem__ method
  • Add unit tests considering this feature

Metadata

Metadata

Labels

featureProduct feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions