Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Inserting python dataframe data into existing Hive table in a specific column

Inserting python dataframe data into existing Hive table in a specific column

Explorer

Dear Sir, i want to enter python calculated values which are saved in df4 should get stored a column of ''per" per is name of column in hive table .

df2 = pd.read_sql("SELECT * FROM ggg where clientcode='55'", conn)

this is how i am reading the data how to write df4  python calculated values in "per" column of hive table. 

Don't have an account?
Coming from Hortonworks? Activate your account here