loading the data into Teradata View using Enterprise Stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
siva4joy
Premium Member
Premium Member
Posts: 34
Joined: Fri Apr 14, 2006 6:10 am
Location: London

loading the data into Teradata View using Enterprise Stage

Post by siva4joy »

Hi all,

I am loading the data in to a teradata view fron the dataset using Teradata Enterprise Stage, but i am getting the following error.
tdtPdwDA_PDW_LN1K: Error when checking operator: Table 'CXA486_CIDLIVE.DA_PDW_LN1K' does not exist! Cannot use truncate mode. Ensure that target is a TABLE object and not a VIEW object. Loading to VIEWS is unsupported.
Error when checking operator: Cannot prepare target table.

because we don't have a options called as view in this stage.
so i am giving view's name in the table options.
my question is can we load the data in to a view?

Thanks for your help.
Thanks and Regards,
Sivasankar.z
+44-07807478984
richdhan
Premium Member
Premium Member
Posts: 364
Joined: Thu Feb 12, 2004 12:24 am

Post by richdhan »

Hi Siva,

Create a Teradata table. Create a view based on the table and load the table instead.

Use the Teradata API stage. There were some issues with Teradata Enterprise stage at our site.

HTH
--Rich
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Loading to VIEWS is unsupported.

Seems pretty clear to me!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Ray is correct. If you load into a view the error shows you that the indexes are not viewable. Certain indexes are required for specific Teradata APIs.
Mamu Kim
siva4joy
Premium Member
Premium Member
Posts: 34
Joined: Fri Apr 14, 2006 6:10 am
Location: London

Post by siva4joy »

hi
actually the view had been created on the table only which had unique primary index .
but our requirement is we have to load in to the views not in to the tables.
can anybody tell me what is the difference between Teradata Api Stage and Teradata Enterprise Stage.
can we load the data in to the views if we can use Teradata Api Stage.
is there any performance issues will come?
Thanks and Regards,
Sivasankar.z
+44-07807478984
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Which part of " Loading to VIEWS is unsupported." is unclear? The requirement can not be met.

As to whether one of the other stages can load a view, why not try it? Let us know. Not everyone out here has Teradata.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply