Problems with ta.create

Aster R
New Member

Problems with ta.create

I cant solve the next error when i try to use ta.create. I used the next:

library(TeradataAsterR)
ta.connect('ASTER')

The conection its fine,


data(iris)
iris2<-data.frame(iris,c(1:150))
names(iris2)<-c(names(iris2)[1:5],"Numero")
ta.create(iris2, table = "iris_m", schemaName = "sch_7380", tableType = "fact", partitionKey = "Numero", row.names = TRUE, colTypes = c())

This code report the next error:

Error in .ta.getMuleConnection() :
[TeradataAsterR] Could not get mule connection from ODBC connection
Error in .ta.createInternal(data = data, table = table, schemaName = schemaName, :
ta.create failed perform ta.push!!!

Anyone can help me?

Another functions like ta.data.frame and ta.head work fine.

Tags (1)
1 REPLY

Re: Problems with ta.create

The error indicates that the problem is with connectivity to Aster system. I successfully ran same code and loaded data into Aster - so code does work. Please check your connection, ODBC data source, etc.