yiheng commented on a change in pull request #197: [LIVY-574][THRIFT SERVER][TEST] Add tests for metadata operations URL: https://github.com/apache/incubator-livy/pull/197#discussion_r313680849
########## File path: thriftserver/server/src/test/scala/org/apache/livy/thriftserver/ThriftServerSuites.scala ########## @@ -69,6 +69,51 @@ trait CommonThriftTests { } assert(!resultSetComplex.next()) } + + def getCatalogTest(connection: Connection): Unit = { + val metadata = connection.getMetaData + val catalogResultSet = metadata.getCatalogs() Review comment: The catalog is not supported in Spark. It' a no-op. Please see [here](https://github.com/apache/incubator-livy/blob/master/thriftserver/server/src/main/scala/org/apache/livy/thriftserver/operation/GetCatalogsOperation.scala#L38). So there's no data return by this operation. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services