Skip to content

Ensure renaming function parameter is compatible change for the compiler plugin #1310

Open
@koperagen

Description

@koperagen

We need a new @ParameterName annotation that has priority over regular name, and serves as compatibility in case of rename.
So let's say plugin expects fun explode(selector), we want fun explode(columns), so we should

  1. Rename parameter and add a annotation explode(@ParameterName("selector") columns)
  2. Create a new interpreter that expects "columns" name, so we could eventually migrate

With that said, this mechanism will work starting from 2025.3 as we can't get this change in 2025.2 release. So for now we should not rename parameters

Metadata

Metadata

Assignees

Labels

Compiler pluginAnything related to the DataFrame Compiler Plugin

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions