You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### _Why are the changes needed?_
Data type DayTimeIntervalType and YearMonthIntervalType have default column size ,but now is null.
### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request
Closes#2251 from Nick-0723/fix_interval_columnSize.
Closes#22071903da2 [Nick Song] fix spark3.3.0 interval type column size
Authored-by: Nick Song <chun2184@163.com>
Signed-off-by: Kent Yao <yao@apache.org>
Copy file name to clipboardExpand all lines: externals/kyuubi-spark-sql-engine/src/test/scala/org/apache/kyuubi/engine/spark/operation/SparkOperationSuite.scala
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ class SparkOperationSuite extends WithSparkSQLEngine with HiveMetadataTests with
57
57
58
58
test("get columns operation") {
59
59
valtableName="spark_get_col_operation"
60
-
valschema=newStructType()
60
+
varschema=newStructType()
61
61
.add("c0", "boolean", nullable =false, "0")
62
62
.add("c1", "tinyint", nullable =true, "1")
63
63
.add("c2", "smallint", nullable =false, "2")
@@ -80,7 +80,9 @@ class SparkOperationSuite extends WithSparkSQLEngine with HiveMetadataTests with
0 commit comments