Quantcast
Channel: Teradata Forums - All forums
Viewing all 27759 articles
Browse latest View live

[TeraJDBC 15.00.00.15] [Error 1178] [SQLState HY000] - response (6) by fcombes

$
0
0

Some news, after more analyse, the problem occur only if the array column (AddAttribute) is place on the middle of the select, when the column is the last of the select statement the query is correctly executed.
 


Record count increases in PreSQL-Informatica in the absence of Semi Colon(;), Database : Teradata - forum topic by prav33ns

$
0
0

My PreSQL query in the WorkFlow of Informatica had 2 parts, 1.Insert query 2.Refresh Stats procedure call In the absence of a ';' between these 2 parts gives me record count in Millions but in the presence of the ';' it gives me record count in Thousands.
My Question is , 1. Why is it not throwing the Error for the absence of semi Colon? 2.Why is the increased record count?

Forums: 

TD 15 download - response (1) by AA186021

$
0
0

it is already available at downloads.teradata.
 
Thanks.
 

migrating users from TD14.10 to TD15 - forum topic by AA186021

$
0
0

Hi,
 
In my server I am running TD Express for VMware, version TD14.10. I have created several users and have no relevant data there (its a sort of sandbox for some users).
I would like to create all the users and keep the same passwords. I am guessing that this could be done exporting and loading some tables into TD15?
Is there any document that could help me with this?
 
Thanks!
Amin
 

Forums: 

Teradata SQL to transpose columns to rows - response (2) by Purushotham

$
0
0

Hi dnoeth,

Could you please share me above scenarie by using CASE statement.

Regards,
Purushotham.

Could anyone please tell me how to transpose from column to rows using CASE statement in teradata - response (7) by Raja_KT

$
0
0
How about?

select cust_id,contact_type1 as contact,contact1  from TEST_123 
union all
select cust_id,contact_type2 as contact ,contact2  from TEST_123 
union all
select cust_id,contact_type3 as contact,contact3  from TEST_123 

 
 
 
 
 
 

ODBC Connection Error - Specified driver could not be loaded - response (6) by piyush.bijwal

$
0
0

Hello Everyone,
I have installed the 64-bit Teradata ODBC driver downloaded from the teradata developer site on my 64-bit OS. I have even followed the steps mentioned above i.e. order of install GSS-ICU-ODBC. But i am still egtting the same error.

message: Specified driver could not be loaded due to system error 126: The specified module could not be found. 

(Teradata, C:\Program Files\Teradata\Client\14.00\ODBC Driver for Teradata nt-x8664\Lib\tdata32.dll).. (HY000)

 

when i check the particular location i could find the file Tdata32.dll where as expected is tdata32.dll. I changed the registry also to point to Tdata32.dll but it was of now use.

 

Can someone help me with the reason and solution for it.
 

Could anyone please tell me how to transpose from column to rows using CASE statement in teradata - response (8) by Purushotham

$
0
0

Hi Raja,

Thank you so much.But I need using CASE Statement.

Regards,
Purushotham.


GLM SQL-MR predict function gives empyt fitted_value - forum topic by Pradi

$
0
0

Hi,
I'm applying the Generalized Linear Model for prediction on the below sample data.
Using AsterAnalytics_Beta__indep_indep.05.10.00.00 libraray
Sample data training data :
origin | dest | year | month | dayofmonth | dayofweek | uniquecarrier | flightnum | deptime | crsdeptime | distance | depdelay | isdelayed
--------+------+------+-------+------------+-----------+---------------+-----------+---------+------------+----------+----------+-----------
 IAD    | TPA  | 2008 |     1 |          3 |                    4 | WN                |       335        |    2003 |       1955 |      810 |        8    |         0
 IAD    | TPA  | 2008 |     1 |          3 |                   4 | WN                |      3231        |     754 |        735 |      810 |       19     |         1
 IND    | BWI  | 2008 |     1 |          3 |                 4 | WN                 |       448         |     628 |        620 |      515 |        8      |         0
 IND    | BWI  | 2008 |     1 |          3 |               4 | WN                   |      3920        |    1829 |       1755 |      515 |       34   |         1
 IND    | JAX  | 2008 |     1 |          3 |                4 | WN                  |       378          |    1940 |       1915 |      688 |       25   |         1
 Query for creating model
 

SELECT * FROM GLM (
ON (SELECT 1)
PARTITION BY 1
database('beehive')
userid('db_superuser')
password('db_superuser')
inputTable('airline_final_nneg')
outputTable('airline_ouput3')
columnNames('isdelayed', 'origin','year', 'month', 'dayofmonth', 'uniquecarrier', 'flightnum','dest', 'deptime', 'crsdeptime', 'distance' , 'depdelay')
categoricalColumns('origin', 'dest', 'uniquecarrier')
family('LOGISTIC')
link('CANONICAL')
weight('1')
threshold('0.01')
maxIterNum('10')
);
 
ERROR:  SQL-MR function GLM failed: [AsterData][ASTERJDBCDSII](34) ERROR: SQL-MR function GLM_REDUCESOLVEANDUPDATE failed: The input data results in a singular matrix and hence there is no solution ()
ERROR:  SQL-MR function GLM failed: Connection to jdbc:ncluster://192.168.100.100/beehive could not be established
Then after removing the columns 'year', 'month', 'dayofmonth,  it created Model.
 
But now prediction Function is not giving proper output,fitted_valueis empty
Test data
 origin | dest | year | month | dayofmonth | dayofweek | uniquecarrier | flightnum | deptime | crsdeptime | distance | depdelay
--------+------+------+-------+------------+-----------+---------------+-----------+---------+------------+----------+----------
 XNA    | IAH  | 2008 |     2 |         29 |         5 | XE            |      2577 |    1154 |       1157 |      438 |       -3
 JAX    | IAH  | 2008 |     2 |          1 |         5 | XE            |      2157 |    1645 |       1525 |      817 |       80
 IAH    | PBI  | 2008 |     2 |         11 |         1 | XE            |      2522 |     707 |        710 |      956 |       -3
 IAH    | BTR  | 2008 |     2 |          5 |         2 | XE            |      2472 |    1432 |       1435 |      253 |       -3
 EWR    | JAN  | 2008 |     2 |         16 |         6 | XE            |      2117 |    1908 |       1905 |     1055 |        3
 
Prediciton function
SELECT * FROM GLMPREDICT (
ON airline_input
DATABASE('beehive')
USERID('db_superuser')
PASSWORD('db_superuser')
MODELTABLE ('airline_ouput1')
ACCUMULATE ('Origin','dest','Year','Month','DayofMonth','DayOfWeek','UniqueCarrier','FlightNum','CRSDepTime','Distance', 'depdelay')
FAMILY('LOGISTIC')
LINK('LOGIT')
)
ORDER BY  Year, Month ;
Please can some one let me know where I'm getting it wrong.
 
Thank you.
 

Forums: 

Could anyone please tell me how to transpose from column to rows using CASE statement in teradata - response (9) by Raja_KT

$
0
0

Why CASE?Case is built on business logic.
Is this what you are thinking of  that if contact has @ then type of contact is  email, if contact has something like >=9 digits then mobile, if contact has <9 digits then telephone? or somethign else?
You can filter with "case when " from your data available for each field. Once that is done you can use union all.

Record count increases in PreSQL-Informatica in the absence of Semi Colon(;), Database : Teradata - response (2) by gdev

$
0
0

To understand more on this, can you please paste the sample of the query sequence you are running ?

Could anyone please tell me how to transpose from column to rows using CASE statement in teradata - response (10) by Purushotham

$
0
0

Hi Raja,

Yes I am thinking abt what you speficied in the above.

Thank you for sharing solution and suggestions for my queries.

Regards,
Purushotham.

Can we able to perform all the ETL activites by using VIEWS ????? - response (1) by gdev

$
0
0

Yes this can be achieved using view. Provided DB2DB righty have been granted prior to it [in case View and table are in 2 different database].

Aster nPath Functionality Example error - response (2) by jtbirdsell

$
0
0

I am having this same issue. Was this ever resolved?

fastload no rows applied when running script in cron - response (2) by davidtzoor

$
0
0

What variable might be problematic? Both cron and my user are using the same PATH for fastload


Trying to Install Teradata Studio 15 and can't Uninstall 14.10 without Binaries - Windows X86 64 - response (3) by fgrimmer

$
0
0

Brett, There is a Windows registry entry that indicates that 14.10 is installed. You could try deleting the entry and retry the install again. You should back up the registry any time you make changes to it directly.
Delete the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{GUID }

Where the GUID is Teradata Studio 14.00.00.00 product code:{9314BCDF-D90E-4681-B234-3AF183E51410}

Teradata Video Tutorials - forum topic by linux_tor

$
0
0

Hi Gurus,
Its would be of great help if any one can let me know if a complete set of video tutorial is available for Teradata so that i can easily get to know Teradata and be able to work on it. As of now i am newbie and need to learn teradata ASAP for my project activites. 
Thanks in advance

Forums: 

Can we able to perform all the ETL activites by using VIEWS ????? - response (2) by ToddAWalter

$
0
0

You can do insert, update and delete operations through views as long as you follow all the "updateable view" rules listed in the manual. However, this will not affect performance positively or negatively.
If you are having performance issues with the ETL processes, you will need to look elsewhere than what object is being accessed. What tool is being used? what interface is it using to Teradata? how is the process implemented - pushdown of the work into the database, pulling a bunch of data to the ETL platform, doing operations one row at a time,...? And a bottleneck analysis - load server, network, database,... .

Trying to Install Teradata Studio 15 and can't Uninstall 14.10 without Binaries - Windows X86 64 - response (5) by brettbates

$
0
0

Good afternoon Francine;
 
I tried this; however, I receive "Error 1714: The older version of Teradata Studio nt-x8664 15.00 cannot be removed."
 
This is a confusing message as I am attempting to install 15 and deleted the 14.10 Uninstall information.
 
Also, I am still prompted to direct the program to the 14.10.1 binaries to remove the old version.
 
Any other ideas on this?
 
Thanks,
Brett

 

fastload no rows applied when running script in cron - response (3) by Raja_KT

$
0
0

Without looking at the script can't say much. However, if you can echo (resolved unix) all variables and can see and verify. Did you try and check your objects  again ?  

Viewing all 27759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>