Nick-0723 commented on issue #2176:
URL:
https://github.com/apache/incubator-kyuubi/issues/2176#issuecomment-1073417928
I found this feature support is trackd in #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]