JDBC getColumns tests failing in jdbc_test (Voting test in Jenkins)
Bug #1404090 reported by
Aruna Sadashiva
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Committed
|
High
|
Justin Du |
Bug Description
Different number of getColumns tests fail in jdbc_test suite (4 or 5).
Exception in test JDBC Get Columns 3..The message id: ids_dcs_
These tests started failing from Dec 8 build, seems like its due to some Security checkin.
description: | updated |
Changed in trafodion: | |
status: | New → In Progress |
Changed in trafodion: | |
assignee: | Sandhya Sundaresan (sandhya-sundaresan) → Justin Du (justin-du-2) |
To post a comment you must log in.
Currently it looks like "NJ costing" change that went in on Dec 8th introduced this regression. No change in the internal query done by mxosrvr for getColumns. Assigning to Sandhya .
Since the failures are random ( some getColumns test pass, some fail - different failures in different runs ) tried to simplify the query to narrow down the problem. cut/paste some of the relevant portions of email chains:
_______ _______ _______ _______ _______ _______ ___
From: Sundaresan, Sandhya
Sent: Monday, January 12, 2015 12:38 AM
To: Narain, Arvind; Du, Justin; Sharma, Anoop
Cc: Neelakanthappa, Ravisha; Varshneya, Renu
Subject: RE: Help needed in figuring out critical case related to getColumns
Great – thanks Arvind for trying this. This is what we had suspected – the plan issue and it appears you have indeed confirmed it. Again the randomness that we see currently may be data dependent and what kind of plan the optimizer chooses. So it shows for some tables and not others.
Ravisha is out until the 22nd so ccing Renu to see who else (Hans or Qifan ? ) can help .
Sandhya
_______ _______ _______ _______ _______ _______ ___
From: Narain, Arvind
Sent: Monday, January 12, 2015 12:08 AM
To: Du, Justin; Sundaresan, Sandhya; Sharma, Anoop
Cc: Neelakanthappa, Ravisha
Subject: RE: Help needed in figuring out critical case related to getColumns
Hi Sandhya,
I tried some other experiments over this weekend. CC’g Ravisha also.
Firstly you should be able to see the problem with just ‘_MD_’.VERSIONS table – on a fresh install – without running any jdbc tests. Use scripts /designs/ seaquest/ narain/ coltest. org (original with 4 parameter – 2 schemas, 2 tables ) or /designs/ seaquest/ narain/ coltest2 (two params – 1 schema and 1 table ). If tablename is wildcarded then only the columns related to the last object (in this case VIEWS_VIEW) are shown.
I installed on sqws122:86 checkout 1655f1e2969e1c8 f3bb28892ff8287 f4c1f2d0c2 (Avoiding Thread.sleep() when thread is exiting …Oliver Bucaojit authored on Dec 8, 2014) – this is one commit before NJ change on Dec 8th.
This version works.
I then installed on sqws144:86 checkout fbe571a0159116b 10b3b2057cc8eda e514239c04 (Merge "NJ costing changes." Trafodion Jenkins authored on Dec 8, 2014 Gerrit Code Review committed on Dec 8, 2014) – this one shows the problem.
Below are the explain options ‘f’ outputs (for coltest.org):
Working one:
--- 5 row(s) selected.
>>explain options 'f' s1;
LC RC OP OPERATOR OPT DESCRIPTION CARD ------- ------ -------- ------- ------- ------ ---------
---- ---- ---- -------
9 . 10 root 4.50E+002 index_scan OBJECTS 1.00E+000
8 . 9 sort 4.50E+002
7 1 8 hybrid_hash_join 4.50E+002
6 2 7 hybrid_hash_join 9.00E+001
3 5 6 nested_join 9.00E+001
4 . 5 probe_cache 1.00E+000
. . 4 trafodion_
. . 3 trafodion_scan ...