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

Text from other languages or normal strings are getting dropped #22

Open
simplyshravan opened this issue May 5, 2022 · 1 comment
Open

Comments

@simplyshravan
Copy link
Contributor

Below is the line which is causing issue. It need code change

df['text'] = df['text'].str.decode('utf8')

@simplyshravan
Copy link
Contributor Author

As I debug the issue , python by default creates the string columns with varchar(256). while inserting data which is having more characters than 256 , the insert statement is failing. Handled this varchar(256) in helpers/connector.py file. Now no need to decode the text in this file. So removing it.

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

1 participant