Github user arvind-narain commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/243#discussion_r49011034
--- Diff:
dcs/src/main/java/org/trafodion/dcs/servermt/serverHandler/ServerApiGetCatalogs.java
---
@@ -353,7 +353,7 @@ else if (columnType == ServerConstants.SQL_ROWVER){
case ServerConstants.SQL_API_SQLSTATISTICS:
if(LOG.isDebugEnabled())
LOG.debug(serverWorkerName + ". getIndexInfo
(catalogNm :" + catalogNm + ", schemaNm :" + schemaNm + ", tableNm :" + tableNm
+ ", uniqueness :" + ((uniqueness == 1)? true : false) + ", true)");
- rs = dbmd.getIndexInfo(catalogNm, schemaNm,
tableNm, (uniqueness == 1)? true : false, true);
+ rs = dbmd.getIndexInfo(catalogNm, schemaNm,
tableNm, (uniqueness == ServerConstants.SQL_INDEX_ALL)? true : false, true);
--- End diff --
Thanks for the updates. Here shouldn't this be SQL_INDEX_UNIQUE (0 - like
your previous change). You could update line 355 also.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---