Hi Tianan Li, I had a quick look in the codebase and I didn't find any unit tests verifying the results of the methods in question so it is very likely that there is a bug there. Have a look in JdbcTest [1], JdbcAdapterTest [2], and see if you can reproduce the problem.
Best, Stamatis [1] https://github.com/apache/calcite/blob/master/core/src/test/java/org/apache/calcite/test/JdbcTest.java [2] https://github.com/apache/calcite/blob/master/core/src/test/java/org/apache/calcite/test/JdbcAdapterTest.java Στις Κυρ, 3 Μαρ 2019 στις 12:45 μ.μ., ο/η Muhammad Gelbana < [email protected]> έγραψε: > Have you tried the same methods with other databases ? > > On Sun, Mar 3, 2019, 8:36 AM 李天安 <[email protected]> wrote: > > > Hi, > > My Name is Tianan Li, recently I’m using your project calcite > > v1.18.0. I have met some issues and I need your help. > > When I connect to postgresql via calcite, I found that I can not > > get remarks of table and columns via DatabaseMetaData.getTables ans > > databaseMetaData.getColumns methods. What’s more, I can not get primary > > keys of a table via DatabaseMetaData.getPrimaryKeys method. > > Is that something wrong with my usage or a bug? > > Thanks, I’m looking forward your reply. > > > > Best, > > Tianan Li > > >
