Nick-0723 commented on issue #2176: URL: https://github.com/apache/incubator-kyuubi/issues/2176#issuecomment-1073418291
> > I don't know how to fix this iusse #2186 > > Spark adds new interval types, we need to support them. FYI, https://spark.apache.org/docs/latest/sql-ref-datatypes.html I found this feature support is trackd in https://github.com/apache/incubator-kyuubi/issues/1250 , should I just fix it in the test case ? skip version spark 3.3 ```scala test("execute statement - select interval") { // FIXME: [KYUUBI #1250] assume(SPARK_ENGINE_MAJOR_MINOR_VERSION !== ((3, 2))) withJdbcStatement() { statement => val resultSet = statement.executeQuery("SELECT interval '1' day AS col") assert(resultSet.next()) assert(resultSet.getString("col") === "1 days") assert(resultSet.getMetaData.getColumnType(1) === java.sql.Types.VARCHAR) val metaData = resultSet.getMetaData assert(metaData.getPrecision(1) === Int.MaxValue) assert(metaData.getScale(1) === 0) } } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
