From da0f8814858059b316c6bfa51d9fd39c6395aac2 Mon Sep 17 00:00:00 2001 From: Nikita Klimenko Date: Wed, 26 Jun 2024 17:05:49 +0300 Subject: [PATCH] [Compiler plugin] Update imports in tests --- .../testData/box/OuterClass.kt | 5 +- .../kotlin-dataframe/testData/box/Schema.kt | 13 ++--- .../kotlin-dataframe/testData/box/castTo.kt | 2 +- .../testData/box/columnGroupApi.kt | 5 +- .../testData/box/columnWithStarProjection.kt | 1 + .../box/conflictingJvmDeclarations.kt | 7 ++- .../testData/box/convertToDataFrame.kt | 2 +- .../testData/box/dataRowSchemaApi.kt | 5 +- .../testData/box/dataSchemaCodegen.kt | 7 +-- .../kotlin-dataframe/testData/box/dfIde.kt | 12 ++--- plugins/kotlin-dataframe/testData/box/diff.kt | 13 ++--- .../testData/box/dropNulls.kt | 2 + .../testData/box/duplicatedSignature.kt | 49 +++---------------- .../kotlin-dataframe/testData/box/explode.kt | 11 ++--- .../testData/box/explodeDataFrame.kt | 5 +- .../extractDataSchemaWithStarProjection.kt | 1 + .../box/extractDataSchemaWithTypeParameter.kt | 1 + .../box/extractPluginSchemaWithUnfold.kt | 6 +-- .../testData/box/flexibleReturnType.kt | 14 ++---- .../kotlin-dataframe/testData/box/group.kt | 2 + .../kotlin-dataframe/testData/box/groupBy.kt | 3 +- .../testData/box/groupBy_DataRow.kt | 3 +- .../testData/box/groupBy_toDataFrame.kt | 3 +- .../testData/box/injectAccessors.kt | 3 +- .../testData/box/injectAccessorsDsl.kt | 3 +- .../kotlin-dataframe/testData/box/insert.kt | 3 +- plugins/kotlin-dataframe/testData/box/join.kt | 18 +------ .../kotlin-dataframe/testData/box/join_1.kt | 2 +- .../testData/box/localTypeExposure.kt | 4 +- .../box/lowerGeneratedImplicitReceiver.kt | 5 +- plugins/kotlin-dataframe/testData/box/main.kt | 4 +- .../testData/box/nestedDataSchemaCodegen.kt | 6 +-- .../testData/box/parametrizedDataFrame.kt | 5 +- .../testData/box/platformType.kt | 11 ++--- plugins/kotlin-dataframe/testData/box/read.kt | 7 ++- .../kotlin-dataframe/testData/box/readCSV.kt | 8 +-- .../testData/box/readDelimStr_delimiter.kt | 3 +- .../kotlin-dataframe/testData/box/readJson.kt | 7 +-- .../testData/box/readJsonStr_const.kt | 7 ++- .../testData/box/readJsonStr_localProperty.kt | 7 ++- .../box/readJsonStr_memberProperty.kt | 7 ++- .../kotlin-dataframe/testData/box/remove.kt | 2 + .../kotlin-dataframe/testData/box/rename.kt | 2 + .../kotlin-dataframe/testData/box/select.kt | 2 + .../kotlin-dataframe/testData/box/selectIt.kt | 2 + .../testData/box/selectThis.kt | 2 + .../testData/box/toDataFrame.kt | 2 + .../testData/box/toDataFrame_dsl.kt | 2 + .../testData/box/toDataFrame_from.kt | 2 + .../testData/box/toDataFrame_superType.kt | 2 + .../box/toDataFrame_typeParameters.kt | 2 + .../box/transformReplaceFunctionCall.kt | 6 +-- .../kotlin-dataframe/testData/box/ungroup.kt | 3 +- 53 files changed, 128 insertions(+), 183 deletions(-) diff --git a/plugins/kotlin-dataframe/testData/box/OuterClass.kt b/plugins/kotlin-dataframe/testData/box/OuterClass.kt index b259c7ddc7..89f00c81a3 100644 --- a/plugins/kotlin-dataframe/testData/box/OuterClass.kt +++ b/plugins/kotlin-dataframe/testData/box/OuterClass.kt @@ -1,6 +1,7 @@ -import org.jetbrains.kotlinx.dataframe.annotations.* -import org.jetbrains.kotlinx.dataframe.columns.* import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* class OuterClass diff --git a/plugins/kotlin-dataframe/testData/box/Schema.kt b/plugins/kotlin-dataframe/testData/box/Schema.kt index 92c1153867..b5a6a635a9 100644 --- a/plugins/kotlin-dataframe/testData/box/Schema.kt +++ b/plugins/kotlin-dataframe/testData/box/Schema.kt @@ -1,12 +1,7 @@ -package org.jetbrains.kotlinx.dataframe - -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema -import org.jetbrains.kotlinx.dataframe.api.add -import org.jetbrains.kotlinx.dataframe.api.cast -import org.jetbrains.kotlinx.dataframe.api.convert -import org.jetbrains.kotlinx.dataframe.api.dataFrameOf -import org.jetbrains.kotlinx.dataframe.api.print -import org.jetbrains.kotlinx.dataframe.api.with +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema interface Schema { diff --git a/plugins/kotlin-dataframe/testData/box/castTo.kt b/plugins/kotlin-dataframe/testData/box/castTo.kt index fd9a59f6c8..cfd70bdd73 100644 --- a/plugins/kotlin-dataframe/testData/box/castTo.kt +++ b/plugins/kotlin-dataframe/testData/box/castTo.kt @@ -1,7 +1,7 @@ +import org.jetbrains.kotlinx.dataframe.* import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.io.* -import org.jetbrains.kotlinx.dataframe.* fun box(): String { val sample = diff --git a/plugins/kotlin-dataframe/testData/box/columnGroupApi.kt b/plugins/kotlin-dataframe/testData/box/columnGroupApi.kt index 5db8ec1763..527cef2c07 100644 --- a/plugins/kotlin-dataframe/testData/box/columnGroupApi.kt +++ b/plugins/kotlin-dataframe/testData/box/columnGroupApi.kt @@ -1,6 +1,7 @@ -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* - +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema data class Record(val a: String, val b: Int) diff --git a/plugins/kotlin-dataframe/testData/box/columnWithStarProjection.kt b/plugins/kotlin-dataframe/testData/box/columnWithStarProjection.kt index 3c54a8cade..e6e6941707 100644 --- a/plugins/kotlin-dataframe/testData/box/columnWithStarProjection.kt +++ b/plugins/kotlin-dataframe/testData/box/columnWithStarProjection.kt @@ -1,6 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema data class Record(val id: String, val b: Int) diff --git a/plugins/kotlin-dataframe/testData/box/conflictingJvmDeclarations.kt b/plugins/kotlin-dataframe/testData/box/conflictingJvmDeclarations.kt index 3e56035cd8..e56e238b7e 100644 --- a/plugins/kotlin-dataframe/testData/box/conflictingJvmDeclarations.kt +++ b/plugins/kotlin-dataframe/testData/box/conflictingJvmDeclarations.kt @@ -1,8 +1,7 @@ -package org.jetbrains.kotlinx.dataframe - -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* -import org.jetbrains.kotlinx.dataframe.api.dataFrameOf +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema interface Repo { diff --git a/plugins/kotlin-dataframe/testData/box/convertToDataFrame.kt b/plugins/kotlin-dataframe/testData/box/convertToDataFrame.kt index 6ee33bac65..6712ca9d69 100644 --- a/plugins/kotlin-dataframe/testData/box/convertToDataFrame.kt +++ b/plugins/kotlin-dataframe/testData/box/convertToDataFrame.kt @@ -1,7 +1,7 @@ +import org.jetbrains.kotlinx.dataframe.* import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.io.* -import org.jetbrains.kotlinx.dataframe.* @DataSchema data class Sessions( diff --git a/plugins/kotlin-dataframe/testData/box/dataRowSchemaApi.kt b/plugins/kotlin-dataframe/testData/box/dataRowSchemaApi.kt index 744ab0b5f7..b6fea7d7e4 100644 --- a/plugins/kotlin-dataframe/testData/box/dataRowSchemaApi.kt +++ b/plugins/kotlin-dataframe/testData/box/dataRowSchemaApi.kt @@ -1,6 +1,7 @@ -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema -import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema class Schema( diff --git a/plugins/kotlin-dataframe/testData/box/dataSchemaCodegen.kt b/plugins/kotlin-dataframe/testData/box/dataSchemaCodegen.kt index d337038f02..ba38fb5cdd 100644 --- a/plugins/kotlin-dataframe/testData/box/dataSchemaCodegen.kt +++ b/plugins/kotlin-dataframe/testData/box/dataSchemaCodegen.kt @@ -1,6 +1,7 @@ -package foo - -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema interface Schema { diff --git a/plugins/kotlin-dataframe/testData/box/dfIde.kt b/plugins/kotlin-dataframe/testData/box/dfIde.kt index d5d2979e79..acac15b566 100644 --- a/plugins/kotlin-dataframe/testData/box/dfIde.kt +++ b/plugins/kotlin-dataframe/testData/box/dfIde.kt @@ -1,11 +1,7 @@ -package org.jetbrains.kotlinx.dataframe - -import org.jetbrains.kotlinx.dataframe.DataFrame -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema -import org.jetbrains.kotlinx.dataframe.api.add -import org.jetbrains.kotlinx.dataframe.api.cast -import org.jetbrains.kotlinx.dataframe.api.dataFrameOf -import org.jetbrains.kotlinx.dataframe.api.filter +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema interface Schema { diff --git a/plugins/kotlin-dataframe/testData/box/diff.kt b/plugins/kotlin-dataframe/testData/box/diff.kt index e0df0063ff..ddc0137418 100644 --- a/plugins/kotlin-dataframe/testData/box/diff.kt +++ b/plugins/kotlin-dataframe/testData/box/diff.kt @@ -1,19 +1,12 @@ -@file:Suppress("warnings") - -package org.jetbrains.kotlinx.dataframe - import java.time.LocalDateTime import java.time.format.DateTimeFormatter import java.time.temporal.ChronoUnit import java.time.temporal.Temporal -import kotlin.experimental.ExperimentalTypeInference -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema -import org.jetbrains.kotlinx.dataframe.annotations.DisableInterpretation -import org.jetbrains.kotlinx.dataframe.api.cast -import org.jetbrains.kotlinx.dataframe.io.* +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* -//fun DataRow.diff(unit: ChronoUnit, expression: RowExpression): Long? = prev()?.let { p -> unit.between(expression(this, this), expression(p, p)) } fun DataRow.diff(unit: ChronoUnit, expression: RowExpression): Long? = prev()?.let { p -> unit.between(expression(p, p), expression(this, this)) } /** diff --git a/plugins/kotlin-dataframe/testData/box/dropNulls.kt b/plugins/kotlin-dataframe/testData/box/dropNulls.kt index f78f2c8d37..2ded081242 100644 --- a/plugins/kotlin-dataframe/testData/box/dropNulls.kt +++ b/plugins/kotlin-dataframe/testData/box/dropNulls.kt @@ -1,5 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* data class Nested(val i: Double?) diff --git a/plugins/kotlin-dataframe/testData/box/duplicatedSignature.kt b/plugins/kotlin-dataframe/testData/box/duplicatedSignature.kt index e9975cf089..1914d12b14 100644 --- a/plugins/kotlin-dataframe/testData/box/duplicatedSignature.kt +++ b/plugins/kotlin-dataframe/testData/box/duplicatedSignature.kt @@ -1,17 +1,9 @@ // FILE: Test.kt -package org.jetbrains.kotlinx.dataframe - import kotlin.random.Random -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema -import org.jetbrains.kotlinx.dataframe.api.add -import org.jetbrains.kotlinx.dataframe.api.cast -import org.jetbrains.kotlinx.dataframe.api.convert -import org.jetbrains.kotlinx.dataframe.api.dataFrameOf -import org.jetbrains.kotlinx.dataframe.api.explode -import org.jetbrains.kotlinx.dataframe.api.filter -import org.jetbrains.kotlinx.dataframe.api.first -import org.jetbrains.kotlinx.dataframe.api.print -import org.jetbrains.kotlinx.dataframe.api.with +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema interface Schema { @@ -24,14 +16,6 @@ interface Log { val message: String } -//fun testCast(): DataFrame { -// val df = DataFrame.empty(10) -// .add("timestamp") { Random.nextLong() } -// .add("message") { "$timestamp: diagnostic ..." } -// -// return df.cast() -//} - fun main(args: Array) { val res = dataFrameOf("a")(1) .cast() @@ -43,33 +27,17 @@ fun main(args: Array) { val a = res.convert { a }.with { it.digitToChar() } val str: DataColumn = a.a - - - print(str) - -// println(org.jetbrains.kotlinx.dataframe.testCast()) - -// val res1 = res.conv - //res.filter { it } } // FILE: duplicatedSignature.kt -package org.jetbrains.kotlinx.dataframe - import java.time.LocalDateTime import java.time.format.DateTimeFormatter -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema -import org.jetbrains.kotlinx.dataframe.api.cast +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* -import org.jetbrains.kotlinx.dataframe.io.read - -//@DataSchema -//interface Log { -// val timestamp: Long -// val message: String -//} +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema interface ActivePlayer { @@ -86,11 +54,8 @@ interface ActivePlayer { fun box(): String { val df = dataFrameOf("char", "level", "race", "charclass", "zone", "guild", "timestamp")(59425,1,"Orc","Rogue","Orgrimmar",165,"01/01/08 00:02:04").cast(verify = true) val format = DateTimeFormatter.ofPattern("MM/dd/yy HH:mm:ss") - // df.timestamp val df1 = df .convert { timestamp }.with { LocalDateTime.parse(it, format)!! } -// .add("tsDiff") { diff(ChronoUnit.MINUTES) { timestamp }?.let { it > 20 } ?: true } -// .add("charDiff") { diff { char }?.let { it != 0 } ?: true } df1.print() return "OK" diff --git a/plugins/kotlin-dataframe/testData/box/explode.kt b/plugins/kotlin-dataframe/testData/box/explode.kt index afeaf1973c..f41e34ed47 100644 --- a/plugins/kotlin-dataframe/testData/box/explode.kt +++ b/plugins/kotlin-dataframe/testData/box/explode.kt @@ -1,10 +1,7 @@ -package org.jetbrains.kotlinx.dataframe - -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema -import org.jetbrains.kotlinx.dataframe.api.cast -import org.jetbrains.kotlinx.dataframe.api.dataFrameOf -import org.jetbrains.kotlinx.dataframe.api.explode -import org.jetbrains.kotlinx.dataframe.api.print +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema interface ExplodeSchema { diff --git a/plugins/kotlin-dataframe/testData/box/explodeDataFrame.kt b/plugins/kotlin-dataframe/testData/box/explodeDataFrame.kt index 60e2329d85..dc2571856e 100644 --- a/plugins/kotlin-dataframe/testData/box/explodeDataFrame.kt +++ b/plugins/kotlin-dataframe/testData/box/explodeDataFrame.kt @@ -1,7 +1,6 @@ -package org.jetbrains.kotlinx.dataframe - -import org.jetbrains.kotlinx.dataframe.api.explode +import org.jetbrains.kotlinx.dataframe.* import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.io.* fun box(): String { diff --git a/plugins/kotlin-dataframe/testData/box/extractDataSchemaWithStarProjection.kt b/plugins/kotlin-dataframe/testData/box/extractDataSchemaWithStarProjection.kt index 8c5e11c1e3..8777c061a6 100644 --- a/plugins/kotlin-dataframe/testData/box/extractDataSchemaWithStarProjection.kt +++ b/plugins/kotlin-dataframe/testData/box/extractDataSchemaWithStarProjection.kt @@ -1,6 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema data class Record(val id: String, val b: Int) diff --git a/plugins/kotlin-dataframe/testData/box/extractDataSchemaWithTypeParameter.kt b/plugins/kotlin-dataframe/testData/box/extractDataSchemaWithTypeParameter.kt index e4bb1bb70d..64944661c3 100644 --- a/plugins/kotlin-dataframe/testData/box/extractDataSchemaWithTypeParameter.kt +++ b/plugins/kotlin-dataframe/testData/box/extractDataSchemaWithTypeParameter.kt @@ -1,6 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema data class Record(val id: String, val b: Int) diff --git a/plugins/kotlin-dataframe/testData/box/extractPluginSchemaWithUnfold.kt b/plugins/kotlin-dataframe/testData/box/extractPluginSchemaWithUnfold.kt index 5489c3e0a2..808842f9df 100644 --- a/plugins/kotlin-dataframe/testData/box/extractPluginSchemaWithUnfold.kt +++ b/plugins/kotlin-dataframe/testData/box/extractPluginSchemaWithUnfold.kt @@ -1,7 +1,7 @@ -package org.jetbrains.kotlinx.dataframe - -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema class Bridge(val type: Type, diff --git a/plugins/kotlin-dataframe/testData/box/flexibleReturnType.kt b/plugins/kotlin-dataframe/testData/box/flexibleReturnType.kt index ad4a04580f..c24a78e243 100644 --- a/plugins/kotlin-dataframe/testData/box/flexibleReturnType.kt +++ b/plugins/kotlin-dataframe/testData/box/flexibleReturnType.kt @@ -1,24 +1,16 @@ -package org.jetbrains.kotlinx.dataframe - import java.time.LocalDateTime import java.time.format.DateTimeFormatter import java.time.temporal.ChronoUnit import java.time.temporal.Temporal import kotlin.experimental.ExperimentalTypeInference -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema -import org.jetbrains.kotlinx.dataframe.annotations.DisableInterpretation -import org.jetbrains.kotlinx.dataframe.api.cast -import org.jetbrains.kotlinx.dataframe.io.* +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema interface ActivePlayer { val char: Int -// val level: Int -// val race: String -// val charclass: String -// val zone: String -// val guild: Int val timestamp: String } diff --git a/plugins/kotlin-dataframe/testData/box/group.kt b/plugins/kotlin-dataframe/testData/box/group.kt index 91c82cbb1e..1ac88b71ea 100644 --- a/plugins/kotlin-dataframe/testData/box/group.kt +++ b/plugins/kotlin-dataframe/testData/box/group.kt @@ -1,5 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* data class Record(val a: String, val b: Int) diff --git a/plugins/kotlin-dataframe/testData/box/groupBy.kt b/plugins/kotlin-dataframe/testData/box/groupBy.kt index ac0cf2a869..04ada30df0 100644 --- a/plugins/kotlin-dataframe/testData/box/groupBy.kt +++ b/plugins/kotlin-dataframe/testData/box/groupBy.kt @@ -1,6 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* -import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema data class Record(val a: String, val b: Int) diff --git a/plugins/kotlin-dataframe/testData/box/groupBy_DataRow.kt b/plugins/kotlin-dataframe/testData/box/groupBy_DataRow.kt index effa32f4e4..c7d8dd8b75 100644 --- a/plugins/kotlin-dataframe/testData/box/groupBy_DataRow.kt +++ b/plugins/kotlin-dataframe/testData/box/groupBy_DataRow.kt @@ -1,6 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* -import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema data class Record(val a: String, val b: Int) diff --git a/plugins/kotlin-dataframe/testData/box/groupBy_toDataFrame.kt b/plugins/kotlin-dataframe/testData/box/groupBy_toDataFrame.kt index d651c09bd8..c97005eaf0 100644 --- a/plugins/kotlin-dataframe/testData/box/groupBy_toDataFrame.kt +++ b/plugins/kotlin-dataframe/testData/box/groupBy_toDataFrame.kt @@ -1,6 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* -import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema data class Record(val a: String, val b: Int) diff --git a/plugins/kotlin-dataframe/testData/box/injectAccessors.kt b/plugins/kotlin-dataframe/testData/box/injectAccessors.kt index ca6bcf4ab3..da414e0d50 100644 --- a/plugins/kotlin-dataframe/testData/box/injectAccessors.kt +++ b/plugins/kotlin-dataframe/testData/box/injectAccessors.kt @@ -1,6 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* -import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema interface Cars { diff --git a/plugins/kotlin-dataframe/testData/box/injectAccessorsDsl.kt b/plugins/kotlin-dataframe/testData/box/injectAccessorsDsl.kt index ceebebe07b..ebdaf87145 100644 --- a/plugins/kotlin-dataframe/testData/box/injectAccessorsDsl.kt +++ b/plugins/kotlin-dataframe/testData/box/injectAccessorsDsl.kt @@ -1,6 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* -import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* fun `Dsl is evaluated to `(df: DataFrame<*>) { val df1 = df.add { diff --git a/plugins/kotlin-dataframe/testData/box/insert.kt b/plugins/kotlin-dataframe/testData/box/insert.kt index 31436ae369..449466013e 100644 --- a/plugins/kotlin-dataframe/testData/box/insert.kt +++ b/plugins/kotlin-dataframe/testData/box/insert.kt @@ -1,6 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* -import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema interface Person { diff --git a/plugins/kotlin-dataframe/testData/box/join.kt b/plugins/kotlin-dataframe/testData/box/join.kt index 70f94d836f..c80726c446 100644 --- a/plugins/kotlin-dataframe/testData/box/join.kt +++ b/plugins/kotlin-dataframe/testData/box/join.kt @@ -1,21 +1,7 @@ -package org.jetbrains.kotlinx.dataframe - +import org.jetbrains.kotlinx.dataframe.* import org.jetbrains.kotlinx.dataframe.annotations.* -import org.jetbrains.kotlinx.dataframe.api.asGroupBy -import org.jetbrains.kotlinx.dataframe.api.convert -import org.jetbrains.kotlinx.dataframe.api.count -import org.jetbrains.kotlinx.dataframe.api.explode -import org.jetbrains.kotlinx.dataframe.api.filter -import org.jetbrains.kotlinx.dataframe.api.first -import org.jetbrains.kotlinx.dataframe.api.join -import org.jetbrains.kotlinx.dataframe.api.print +import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.io.* -import org.jetbrains.kotlinx.dataframe.api.select -import org.jetbrains.kotlinx.dataframe.api.sortBy -import org.jetbrains.kotlinx.dataframe.api.sortByDesc -import org.jetbrains.kotlinx.dataframe.api.sum -import org.jetbrains.kotlinx.dataframe.api.sumOf -import org.jetbrains.kotlinx.dataframe.api.with fun box(): String { val df = @Import DataFrame.readJson("testResources/achievements_all.json") diff --git a/plugins/kotlin-dataframe/testData/box/join_1.kt b/plugins/kotlin-dataframe/testData/box/join_1.kt index d23669f61b..f1cd419106 100644 --- a/plugins/kotlin-dataframe/testData/box/join_1.kt +++ b/plugins/kotlin-dataframe/testData/box/join_1.kt @@ -1,7 +1,7 @@ +import org.jetbrains.kotlinx.dataframe.* import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.io.* -import org.jetbrains.kotlinx.dataframe.* @DataSchema data class Sessions( diff --git a/plugins/kotlin-dataframe/testData/box/localTypeExposure.kt b/plugins/kotlin-dataframe/testData/box/localTypeExposure.kt index 31ecefe317..4f02948dc5 100644 --- a/plugins/kotlin-dataframe/testData/box/localTypeExposure.kt +++ b/plugins/kotlin-dataframe/testData/box/localTypeExposure.kt @@ -1,5 +1,7 @@ -import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* public val df1 = dataFrameOf("a")(1).add("b") { 2 } internal val df2 = dataFrameOf("a")(1).add("b") { 2 } diff --git a/plugins/kotlin-dataframe/testData/box/lowerGeneratedImplicitReceiver.kt b/plugins/kotlin-dataframe/testData/box/lowerGeneratedImplicitReceiver.kt index 386f46d7e8..6642a48130 100644 --- a/plugins/kotlin-dataframe/testData/box/lowerGeneratedImplicitReceiver.kt +++ b/plugins/kotlin-dataframe/testData/box/lowerGeneratedImplicitReceiver.kt @@ -1,8 +1,7 @@ -package org.jetbrains.kotlinx.dataframe.api - import org.jetbrains.kotlinx.dataframe.* -import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* interface Cars diff --git a/plugins/kotlin-dataframe/testData/box/main.kt b/plugins/kotlin-dataframe/testData/box/main.kt index 7e48de76c1..1c1668a90e 100644 --- a/plugins/kotlin-dataframe/testData/box/main.kt +++ b/plugins/kotlin-dataframe/testData/box/main.kt @@ -1,5 +1,5 @@ -package org.jetbrains.kotlinx.dataframe - +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.io.* diff --git a/plugins/kotlin-dataframe/testData/box/nestedDataSchemaCodegen.kt b/plugins/kotlin-dataframe/testData/box/nestedDataSchemaCodegen.kt index b96d779ec2..68af743fee 100644 --- a/plugins/kotlin-dataframe/testData/box/nestedDataSchemaCodegen.kt +++ b/plugins/kotlin-dataframe/testData/box/nestedDataSchemaCodegen.kt @@ -1,7 +1,7 @@ -package org.jetbrains.kotlinx.dataframe - -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema class Function( diff --git a/plugins/kotlin-dataframe/testData/box/parametrizedDataFrame.kt b/plugins/kotlin-dataframe/testData/box/parametrizedDataFrame.kt index edcc1e9e88..ad04cd3be0 100644 --- a/plugins/kotlin-dataframe/testData/box/parametrizedDataFrame.kt +++ b/plugins/kotlin-dataframe/testData/box/parametrizedDataFrame.kt @@ -1,8 +1,7 @@ -package org.jetbrains.kotlinx.dataframe - +import org.jetbrains.kotlinx.dataframe.* import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* -import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.io.* @DataSchema interface Schema { diff --git a/plugins/kotlin-dataframe/testData/box/platformType.kt b/plugins/kotlin-dataframe/testData/box/platformType.kt index 96bd29776f..eeed37d246 100644 --- a/plugins/kotlin-dataframe/testData/box/platformType.kt +++ b/plugins/kotlin-dataframe/testData/box/platformType.kt @@ -1,17 +1,12 @@ -@file:Suppress("warnings") - -package org.jetbrains.kotlinx.dataframe - import java.time.LocalDateTime import java.time.format.DateTimeFormatter import java.time.temporal.ChronoUnit import java.time.temporal.Temporal import kotlin.experimental.ExperimentalTypeInference -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema -import org.jetbrains.kotlinx.dataframe.annotations.DisableInterpretation -import org.jetbrains.kotlinx.dataframe.api.cast -import org.jetbrains.kotlinx.dataframe.io.read +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* /** char,level,race,charclass,zone,guild,timestamp diff --git a/plugins/kotlin-dataframe/testData/box/read.kt b/plugins/kotlin-dataframe/testData/box/read.kt index c04395faf4..93a6fd8133 100644 --- a/plugins/kotlin-dataframe/testData/box/read.kt +++ b/plugins/kotlin-dataframe/testData/box/read.kt @@ -1,8 +1,7 @@ -package org.jetbrains.kotlinx.dataframe - -import org.jetbrains.kotlinx.dataframe.io.read -import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.* import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* fun box(): String { val df = @Import DataFrame.read("https://raw.githubusercontent.com/Kotlin/dataframe/master/data/jetbrains_repositories.csv") diff --git a/plugins/kotlin-dataframe/testData/box/readCSV.kt b/plugins/kotlin-dataframe/testData/box/readCSV.kt index 3e71fc6067..a9db96e170 100644 --- a/plugins/kotlin-dataframe/testData/box/readCSV.kt +++ b/plugins/kotlin-dataframe/testData/box/readCSV.kt @@ -1,9 +1,5 @@ -package org.jetbrains.kotlinx.dataframe - -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema -import org.jetbrains.kotlinx.dataframe.annotations.Import -import org.jetbrains.kotlinx.dataframe.api.cast -import org.jetbrains.kotlinx.dataframe.io.read +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.io.* diff --git a/plugins/kotlin-dataframe/testData/box/readDelimStr_delimiter.kt b/plugins/kotlin-dataframe/testData/box/readDelimStr_delimiter.kt index 73be1cd0ff..cab1d7b0b5 100644 --- a/plugins/kotlin-dataframe/testData/box/readDelimStr_delimiter.kt +++ b/plugins/kotlin-dataframe/testData/box/readDelimStr_delimiter.kt @@ -1,6 +1,7 @@ +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.io.* -import org.jetbrains.kotlinx.dataframe.* fun box(): String { val tsv = """ diff --git a/plugins/kotlin-dataframe/testData/box/readJson.kt b/plugins/kotlin-dataframe/testData/box/readJson.kt index 7cde124e1c..d11e6f55f6 100644 --- a/plugins/kotlin-dataframe/testData/box/readJson.kt +++ b/plugins/kotlin-dataframe/testData/box/readJson.kt @@ -1,8 +1,5 @@ -package org.jetbrains.kotlinx.dataframe - -import org.jetbrains.kotlinx.dataframe.annotations.DataSchema -import org.jetbrains.kotlinx.dataframe.api.cast -import org.jetbrains.kotlinx.dataframe.io.read +import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.io.* diff --git a/plugins/kotlin-dataframe/testData/box/readJsonStr_const.kt b/plugins/kotlin-dataframe/testData/box/readJsonStr_const.kt index 7c34f24001..e0444c8e35 100644 --- a/plugins/kotlin-dataframe/testData/box/readJsonStr_const.kt +++ b/plugins/kotlin-dataframe/testData/box/readJsonStr_const.kt @@ -1,8 +1,7 @@ -package org.jetbrains.kotlinx.dataframe - -import org.jetbrains.kotlinx.dataframe.io.* -import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.* import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* const val text = """[{"a":null, "b":1},{"a":null, "b":2}]""" diff --git a/plugins/kotlin-dataframe/testData/box/readJsonStr_localProperty.kt b/plugins/kotlin-dataframe/testData/box/readJsonStr_localProperty.kt index 77d9eac33b..cfb6bbb6d8 100644 --- a/plugins/kotlin-dataframe/testData/box/readJsonStr_localProperty.kt +++ b/plugins/kotlin-dataframe/testData/box/readJsonStr_localProperty.kt @@ -1,8 +1,7 @@ -package org.jetbrains.kotlinx.dataframe - -import org.jetbrains.kotlinx.dataframe.io.* -import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.* import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* fun box(): String { val text = """[{"a":null, "b":1},{"a":null, "b":2}]""" diff --git a/plugins/kotlin-dataframe/testData/box/readJsonStr_memberProperty.kt b/plugins/kotlin-dataframe/testData/box/readJsonStr_memberProperty.kt index d05998976c..c27080496e 100644 --- a/plugins/kotlin-dataframe/testData/box/readJsonStr_memberProperty.kt +++ b/plugins/kotlin-dataframe/testData/box/readJsonStr_memberProperty.kt @@ -1,8 +1,7 @@ -package org.jetbrains.kotlinx.dataframe - -import org.jetbrains.kotlinx.dataframe.io.* -import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.* import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* class Tests { val text = """[{"a":null, "b":1},{"a":null, "b":2}]""" diff --git a/plugins/kotlin-dataframe/testData/box/remove.kt b/plugins/kotlin-dataframe/testData/box/remove.kt index f52a86fc23..8f075c8f51 100644 --- a/plugins/kotlin-dataframe/testData/box/remove.kt +++ b/plugins/kotlin-dataframe/testData/box/remove.kt @@ -1,5 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* data class Nested(val d: Double) diff --git a/plugins/kotlin-dataframe/testData/box/rename.kt b/plugins/kotlin-dataframe/testData/box/rename.kt index a93cf58571..56d390fc3f 100644 --- a/plugins/kotlin-dataframe/testData/box/rename.kt +++ b/plugins/kotlin-dataframe/testData/box/rename.kt @@ -1,5 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* data class Nested(val d: Double) diff --git a/plugins/kotlin-dataframe/testData/box/select.kt b/plugins/kotlin-dataframe/testData/box/select.kt index f6896d0aa8..e71ed2a900 100644 --- a/plugins/kotlin-dataframe/testData/box/select.kt +++ b/plugins/kotlin-dataframe/testData/box/select.kt @@ -1,5 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* data class Nested(val d: Double) diff --git a/plugins/kotlin-dataframe/testData/box/selectIt.kt b/plugins/kotlin-dataframe/testData/box/selectIt.kt index 08583bed28..e0c1cba7cf 100644 --- a/plugins/kotlin-dataframe/testData/box/selectIt.kt +++ b/plugins/kotlin-dataframe/testData/box/selectIt.kt @@ -1,5 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* data class Record(val a: String, val b: Int) diff --git a/plugins/kotlin-dataframe/testData/box/selectThis.kt b/plugins/kotlin-dataframe/testData/box/selectThis.kt index f90f0a4d6e..b9f2989faa 100644 --- a/plugins/kotlin-dataframe/testData/box/selectThis.kt +++ b/plugins/kotlin-dataframe/testData/box/selectThis.kt @@ -1,5 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* data class Record(val a: String, val b: Int) diff --git a/plugins/kotlin-dataframe/testData/box/toDataFrame.kt b/plugins/kotlin-dataframe/testData/box/toDataFrame.kt index a7a13b80f1..b984471758 100644 --- a/plugins/kotlin-dataframe/testData/box/toDataFrame.kt +++ b/plugins/kotlin-dataframe/testData/box/toDataFrame.kt @@ -1,7 +1,9 @@ import kotlinx.datetime.Clock import kotlinx.datetime.Instant import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* import java.time.Year enum class Switch { diff --git a/plugins/kotlin-dataframe/testData/box/toDataFrame_dsl.kt b/plugins/kotlin-dataframe/testData/box/toDataFrame_dsl.kt index e2a0a4bea2..62a99bb044 100644 --- a/plugins/kotlin-dataframe/testData/box/toDataFrame_dsl.kt +++ b/plugins/kotlin-dataframe/testData/box/toDataFrame_dsl.kt @@ -1,5 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* enum class Switch { ON, OFF diff --git a/plugins/kotlin-dataframe/testData/box/toDataFrame_from.kt b/plugins/kotlin-dataframe/testData/box/toDataFrame_from.kt index e0f05d497e..cc3c899223 100644 --- a/plugins/kotlin-dataframe/testData/box/toDataFrame_from.kt +++ b/plugins/kotlin-dataframe/testData/box/toDataFrame_from.kt @@ -1,5 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* class S( val str: String, diff --git a/plugins/kotlin-dataframe/testData/box/toDataFrame_superType.kt b/plugins/kotlin-dataframe/testData/box/toDataFrame_superType.kt index 975af02ad9..892e20a8bc 100644 --- a/plugins/kotlin-dataframe/testData/box/toDataFrame_superType.kt +++ b/plugins/kotlin-dataframe/testData/box/toDataFrame_superType.kt @@ -1,5 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* interface SupertypeProperty { val i: Int diff --git a/plugins/kotlin-dataframe/testData/box/toDataFrame_typeParameters.kt b/plugins/kotlin-dataframe/testData/box/toDataFrame_typeParameters.kt index e6cfd994d5..628fddba9f 100644 --- a/plugins/kotlin-dataframe/testData/box/toDataFrame_typeParameters.kt +++ b/plugins/kotlin-dataframe/testData/box/toDataFrame_typeParameters.kt @@ -1,5 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* data class ClassWithNullableAnyTypeArg( val v: T, diff --git a/plugins/kotlin-dataframe/testData/box/transformReplaceFunctionCall.kt b/plugins/kotlin-dataframe/testData/box/transformReplaceFunctionCall.kt index 51536510ca..a9ab44887c 100644 --- a/plugins/kotlin-dataframe/testData/box/transformReplaceFunctionCall.kt +++ b/plugins/kotlin-dataframe/testData/box/transformReplaceFunctionCall.kt @@ -1,7 +1,7 @@ -package org.jetbrains.kotlinx.dataframe - -import org.jetbrains.kotlinx.dataframe.api.* import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* +import org.jetbrains.kotlinx.dataframe.api.* +import org.jetbrains.kotlinx.dataframe.io.* fun box(): String { test() diff --git a/plugins/kotlin-dataframe/testData/box/ungroup.kt b/plugins/kotlin-dataframe/testData/box/ungroup.kt index 9fefa2777c..435e476994 100644 --- a/plugins/kotlin-dataframe/testData/box/ungroup.kt +++ b/plugins/kotlin-dataframe/testData/box/ungroup.kt @@ -1,6 +1,7 @@ import org.jetbrains.kotlinx.dataframe.* +import org.jetbrains.kotlinx.dataframe.annotations.* import org.jetbrains.kotlinx.dataframe.api.* - +import org.jetbrains.kotlinx.dataframe.io.* data class Record(val a: String, val b: Int) fun box(): String {