Skip to content

Error when casting dataframe to a @DataSchema class located in another package #1877

@lev-nekrasov

Description

@lev-nekrasov

Hi!

When using dataframe cast to a particular type, I'm getting error:

java.lang.NoSuchMethodError: 'org.jetbrains.kotlinx.dataframe.DataColumn com.package1.__GENERATED__CALLABLES__Kt.getSomethingId(org.jetbrains.kotlinx.dataframe.ColumnsContainer)'
when i do see function definition:

public val org.jetbrains.kotlinx.dataframe.ColumnsContainer<com.package1.Class1>.somethingId: org.jetbrains.kotlinx.dataframe.DataColumn<kotlin.Long> /* compiled code */
public final get() { /* compiled code */ }

in
build/classes/kotlin/main/com/package1/__GENERATED__CALLABLES__Kt.class

Everything is fine when i don't cast.

Any ideas what i'm doing wrong?

I'm on 1.0.0-Beta5 and 2.3.21 for all kotlin plugins.

Thanks!

Metadata

Metadata

Assignees

Labels

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

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions