-
Notifications
You must be signed in to change notification settings - Fork 151
[TRAFODION-3089] DatabaseMetaData.getIndexInfo not work well #1603
base: master
Are you sure you want to change the base?
Conversation
Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/2742/ |
Test Passed. https://jenkins.esgyn.com/job/Check-PR-master/2742/ |
It looks like the change made via #594 to make the squirel to work is being undone. Is that what you wanted? |
no, actually i remove the sb_histograms , because the MD schema does not have that table, also if there does not do update stastisitc, the CARDINALITY will not correct. |
@mashengchen, @selvaganesang, @venkat1m: Where does this change stand? Is it ready for merging? Does it require more work? |
Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/2879/ |
Test Failed. https://jenkins.esgyn.com/job/Check-PR-master/2879/ |
jenkins,retest |
Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/2944/ |
Test Passed. https://jenkins.esgyn.com/job/Check-PR-master/2944/ |
@mashengchen, @selvaganesang, @venkat1m: Where does this change stand? Is it ready for merging? Does it require more work? |
@traflm this PR is for the bug which can get index in MD schema by the getIndexInfo api, but one can get result by using get indexes in trafci or sqlci |
@selvaganesang and @venkat1m: Do you have further comments? Or should I merge this? |
jenkins, retest |
Check Test Started: https://jenkins.esgyn.com/job/Check-PR-master/3072/ |
Test Passed. https://jenkins.esgyn.com/job/Check-PR-master/3072/ |
It looks like GetStatistics API was displaying some information about the table itself to take into account the primary key earlier. I am assuming that the primary key acts like an implied index that needs to be displayed as part of GetStatistics API. Yes. It is incorrect to use sb_histograms table, but I fear that the row pertaining to the primary key is being completely removed from the output with this change. Hence can you please attach the output of the catalog API before and after your change to determine if this change can be merged. So my comment about #594 still stands good |
it's hard to update statistic message each time row datas change. so current version does not support CARDINALITY.