Netezza system catalog table constains duplicate records for external tables

别来无恙 提交于 2019-12-11 10:25:27

问题


In my Netezza box, I can see duplicate records in system tables. It is specific to EXTERNAL TABLE records as shown below

Example:

SYSTEM.ADMIN(ADMIN)=> CREATE EXTERNAL TABLE “Joe” (“Id” integer)

SYSTEM.ADMIN(ADMIN)-> USING (DATAOBJECT(‘filename.csv’)

SYSTEM.ADMIN(ADMIN)(> REMOTESOURCE ‘odbc’);

CREATE EXTERNAL TABLE

SYSTEM.ADMIN(ADMIN)=> select tablename, objtype from _v_table where tablename =’Joe’;
TABLENAME | OBJTYPE

———–+—————-

Joe | EXTERNAL TABLE

Joe | EXTERNAL TABLE

(2 rows)

SYSTEM.ADMIN(ADMIN)=> select tablename, objtype from _v_table where objtype =’EXTERNAL TABLE’;

TABLENAME | OBJTYPE

———————————————————-+—————-
STG_TBLMEMBERS_HIST_EXT_ef8de7e9c2b14692bf61848d5fd20858 | EXTERNAL TABLE
STG_TBLMEMBERS_HIST_EXT_ef8de7e9c2b14692bf61848d5fd20858 | EXTERNAL TABLE

Joe | EXTERNAL TABLE`

Joe | EXTERNAL TABLE

(4 rows)

Even OBJECTID is also same for these 2 duplicate records. I could not found the reason for it. Please help and let me know what could be the reason for it.

Thanks


回答1:


This has been confirmed as a bug, and fixed in subsequent patches/releases.



来源:https://stackoverflow.com/questions/30602818/netezza-system-catalog-table-constains-duplicate-records-for-external-tables

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!