Update stats failures due to schema PUBLIC_ACCESS_SCHEMA

Bug #1403995 reported by Weishiun Tsai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trafodion
Fix Released
Critical
Roberta Marton

Bug Description

Starting from the v1218_0830 build, update statistics are seeing wide-spread failures complaining about not being able to create objects in the PUBLIC_ACCSES_SCHEMA. This might have something to do with the ANSI schema change that went in in the v1218_0830 build. The ANSI schema change requires any schema to be physically created before it can be used.

Here is an example of such failure:

SQL>update statistics for table trafodion.g_tpcds1x.customer_address on every column sample;
*** ERROR[9214] Object TRAFODION.PUBLIC_ACCESS_SCHEMA.SQLMX_157679540284239117_1418926426_841447 could not be created. [2014-12-18 18:14:02]
*** ERROR[1003] Schema TRAFODION.PUBLIC_ACCESS_SCHEMA does not exist. [2014-12-18 18:14:02]
*** ERROR[9201] Unable to DROP object TRAFODION.PUBLIC_ACCESS_SCHEMA.SQLMX_157679540284239117_1418926426_841447. [2014-12-18 18:14:02]
*** ERROR[1389] Object TRAFODION.PUBLIC_ACCESS_SCHEMA.SQLMX_157679540284239117_1418926426_841447 does not exist in Trafodion. [2014-12-18 18:14:02]

Changed in trafodion:
milestone: none → r1.0
Changed in trafodion:
assignee: nobody → Roberta Marton (roberta-marton)
status: New → In Progress
Revision history for this message
Roberta Marton (roberta-marton) wrote :

Change was added that if the PUBLIC_ACCESS_SCHEMA does not exist, the temporary sample table will be created in the same schema as the source table.

Changed in trafodion:
status: In Progress → Fix Committed
Revision history for this message
Weishiun Tsai (wei-shiun-tsai) wrote :

Was able to run through the global table creation with update stats on the v0113 build without having to apply the workaround of manually creating the PUBLIC_ACCESS_SCHEMA schema first. This problem is now fixed.

Changed in trafodion:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.