Skip to main content
Question

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf4 in position 0: unexpected end of data

  • April 17, 2023
  • 1 reply
  • 5 views

MaxMaffio

Hi,

when running :

vp.pandas_to_vertica(df=df,
name="refresh_table_ct",
schema="Report")

I ge tthe error:

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf4 in position 0: unexpected end of data

I tried even with simple dataframe, like

df = pd.DataFrame({"aa":[1,2,3]})

but the error persists.
It happened suddenly, two days ago it worked fine and today I get this error message!!

1 reply

SruthiA
Forum|alt.badge.img+1
  • Participating Frequently
  • April 17, 2023

This is a known issue. Please add more details on your vertica version, python version and client tool used in the below github link

https://github.com/vertica/vertica-python/issues/493