Hi Emerson, I did not commit TestHplsqlDb.java since Apache Pre-commit test starts executing it, and I did not manage how to pass it (there are connection errors). I can commit it as java_ to prevent execution, or someone can help with connection errors.
Some table DDLs are here: https://github.com/apache/hive/blob/master/hplsql/src/test/queries/db/schema.sql *src* and *sample_07* are sample tables supplied with Hive. By the way, *src* table is used in many Hive tests. Thanks, Dmitry On Mon, Aug 1, 2016 at 6:48 AM, Zhenyi Zhao <emsn1...@gmail.com> wrote: > Hi all, > > There is a unit test class named "TestHplsqlDb.java" I found at > http://www.hplsql.org/downloads/hplsql-0.3.17-src.zip. But I want to know > why this class dose't exsit at > https://github.com/apache/hive/tree/master/hplsql. > > Now I want to test the hplsql‘s compatibility with hive datasource, but > the tests failed. > > And my question is how to pass the "TestHplsqlDb.java" test , I found > there are some tables required by the tests , like src , sample_07, src_dt > and so on. But I could not find them to pass the test. How to init the > test env? > > I' am waiting for your response. Thank you very much~ > > Emerson >