File tree Expand file tree Collapse file tree 4 files changed +10
-10
lines changed
main/kotlin/org/jetbrains/kotlinx/dataframe/io
test/kotlin/org/jetbrains/kotlinx/dataframe/io
main/kotlin/org/jetbrains/kotlinx/dataframe/io
test/kotlin/org/jetbrains/kotlinx/dataframe/io Expand file tree Collapse file tree 4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -899,7 +899,7 @@ internal fun KlaxonJson.encodeRowWithMetadata(
899899 when (col) {
900900 is ColumnGroup <* > -> obj(
901901 DATA to encodeRowWithMetadata(col, index, rowLimit),
902- METADATA to obj(KIND to ColumnKind .Group .name )
902+ METADATA to obj(KIND to ColumnKind .Group .toString() )
903903 )
904904
905905 is FrameColumn <* > -> {
@@ -908,7 +908,7 @@ internal fun KlaxonJson.encodeRowWithMetadata(
908908 obj(
909909 DATA to data,
910910 METADATA to obj(
911- KIND to ColumnKind .Frame .name ,
911+ KIND to ColumnKind .Frame .toString() ,
912912 NCOL to col[index].ncol,
913913 NROW to col[index].nrow
914914 )
Original file line number Diff line number Diff line change @@ -1000,7 +1000,7 @@ class JsonTests {
10001000
10011001 val permissions = row[" permissions" ] as JsonObject
10021002 val metadata = permissions[METADATA ] as JsonObject
1003- metadata[KIND ] shouldBe ColumnKind .Group .name
1003+ metadata[KIND ] shouldBe ColumnKind .Group .toString()
10041004
10051005 val decodedData = permissions[DATA ] as JsonObject
10061006
@@ -1020,7 +1020,7 @@ class JsonTests {
10201020 val contributors = row[" contributors" ] as JsonObject
10211021
10221022 val metadata = contributors[METADATA ] as JsonObject
1023- metadata[KIND ] shouldBe ColumnKind .Frame .name
1023+ metadata[KIND ] shouldBe ColumnKind .Frame .toString()
10241024 metadata[NCOL ] shouldBe 8
10251025 metadata[NROW ] shouldBe 29
10261026
@@ -1041,7 +1041,7 @@ class JsonTests {
10411041 val contributors = row[" contributors" ] as JsonObject
10421042
10431043 val metadata = contributors[METADATA ] as JsonObject
1044- metadata[KIND ] shouldBe ColumnKind .Frame .name
1044+ metadata[KIND ] shouldBe ColumnKind .Frame .toString()
10451045 metadata[NCOL ] shouldBe 8
10461046 metadata[NROW ] shouldBe 29
10471047
Original file line number Diff line number Diff line change @@ -899,7 +899,7 @@ internal fun KlaxonJson.encodeRowWithMetadata(
899899 when (col) {
900900 is ColumnGroup <* > -> obj(
901901 DATA to encodeRowWithMetadata(col, index, rowLimit),
902- METADATA to obj(KIND to ColumnKind .Group .name )
902+ METADATA to obj(KIND to ColumnKind .Group .toString() )
903903 )
904904
905905 is FrameColumn <* > -> {
@@ -908,7 +908,7 @@ internal fun KlaxonJson.encodeRowWithMetadata(
908908 obj(
909909 DATA to data,
910910 METADATA to obj(
911- KIND to ColumnKind .Frame .name ,
911+ KIND to ColumnKind .Frame .toString() ,
912912 NCOL to col[index].ncol,
913913 NROW to col[index].nrow
914914 )
Original file line number Diff line number Diff line change @@ -1000,7 +1000,7 @@ class JsonTests {
10001000
10011001 val permissions = row[" permissions" ] as JsonObject
10021002 val metadata = permissions[METADATA ] as JsonObject
1003- metadata[KIND ] shouldBe ColumnKind .Group .name
1003+ metadata[KIND ] shouldBe ColumnKind .Group .toString()
10041004
10051005 val decodedData = permissions[DATA ] as JsonObject
10061006
@@ -1020,7 +1020,7 @@ class JsonTests {
10201020 val contributors = row[" contributors" ] as JsonObject
10211021
10221022 val metadata = contributors[METADATA ] as JsonObject
1023- metadata[KIND ] shouldBe ColumnKind .Frame .name
1023+ metadata[KIND ] shouldBe ColumnKind .Frame .toString()
10241024 metadata[NCOL ] shouldBe 8
10251025 metadata[NROW ] shouldBe 29
10261026
@@ -1041,7 +1041,7 @@ class JsonTests {
10411041 val contributors = row[" contributors" ] as JsonObject
10421042
10431043 val metadata = contributors[METADATA ] as JsonObject
1044- metadata[KIND ] shouldBe ColumnKind .Frame .name
1044+ metadata[KIND ] shouldBe ColumnKind .Frame .toString()
10451045 metadata[NCOL ] shouldBe 8
10461046 metadata[NROW ] shouldBe 29
10471047
You can’t perform that action at this time.
0 commit comments