Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load_table() - Only creating table and script - Not populating the table #13

Open
ayuba7272 opened this issue Apr 11, 2019 · 4 comments

Comments

@ayuba7272
Copy link

I'm trying to fast load a pandas dataframe from Python to a Teradata table. The ftd.load_table() function is creating the table with required column but the values are not getting populated from the csv to Teradata table. Is there something which I'm missing??

@jeuell
Copy link

jeuell commented May 10, 2020

I have this same problem. Did you ever figure it out?

@jeuell
Copy link

jeuell commented May 10, 2020

When I run the fastload script separately, it gives me the following:
Warning: EOF on INPUT stream
for some reason, the fastload utility thinks the input file has and EOF right away but I cannot find anything suspicious in the csv file.

@ayuba7272
Copy link
Author

I have this same problem. Did you ever figure it out?

Nope. I finally ended up using other methods. Currently writing it to a Hadoop server and using swoop to tranfer the table to teradata

@jeuell
Copy link

jeuell commented May 11, 2020

I intercepted the fastload script and ran it manually and there was a column width issue I cannot explain. I got it to load the table after some interventions but the module would need to be updated to expand the columns by default instead of using what comes out of the dataframe. A couple of other issues I encountered were the interpretation of the instructions for the "env" argument. The file "home" was not clear on my windows environment and the module couldn't find it so I changed it to point to the same directory as my load and script files. when it says to replace everything between the double underscores in the .fastteradata credential file, it actually means replace everything between the double quotes including replacing the double underscores. I am probably just a noob and don't know the common programming practices so it took me a couple of tries to figure that out. Overall, this is an interesting package and kudos to the efforts by Mark Hoffman. I don't think it is a simple plug and play package yet based on my experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants