File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
dataframe-jupyter/src/test/kotlin/org/jetbrains/kotlinx/dataframe/jupyter Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -70,4 +70,24 @@ class CodeGenerationTests : DataFrameJupyterTest() {
70
70
df1.leaf.c
71
71
""" .checkCompilation()
72
72
}
73
+
74
+ // Issue #1222
75
+ @Test
76
+ fun `do not reuse marker with non-matching sub-schema` () {
77
+ @Language(" kt" )
78
+ val _1 = """
79
+ val df1 = dataFrameOf("group" to columnOf("a" to columnOf(1, null, 3)))
80
+ val df2 = dataFrameOf("group" to columnOf("a" to columnOf(1, 2, 3)))
81
+ df1.group.a
82
+ df2.group.a
83
+ """ .checkCompilation()
84
+
85
+ @Language(" kt" )
86
+ val _2 = """
87
+ val df1 = dataFrameOf("group" to columnOf("a" to columnOf(1, 2, 3)))
88
+ val df2 = dataFrameOf("group" to columnOf("a" to columnOf(1, null, 3)))
89
+ df1.group.a
90
+ df2.group.a
91
+ """ .checkCompilation()
92
+ }
73
93
}
You can’t perform that action at this time.
0 commit comments