Skip to content

Type safe col ref does not work in rename/remove when switched to compiler plugin #1461

@hantsy

Description

@hantsy

Dataframe 1.0.0-Beta3
Kotlin 2.2.22

For example, given the following column in the data schema.

@ColumnName("CREATED DATE")
val createdAt:LocalDateTime

The following worked in previous version with KSP, but the first expression did not work now.

df.rename { createdAt }.into {"CREATED DATE(Aisa/Shanghai)"} //not work now
df.rename { "CREATED DATE"() }.into {"CREATED DATE(Aisa/Shanghai)"}
df.rename { col("CREATED DATE")}.into {"CREATED DATE(Aisa/Shanghai)"}

Metadata

Metadata

Assignees

Labels

Compiler pluginAnything related to the DataFrame Compiler PluginbugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions