presto-python-client icon indicating copy to clipboard operation
presto-python-client copied to clipboard

Unable to insert data

Open hhhzt opened this issue 1 year ago • 2 comments

My table creation statement is: create table test(word string) PARTITIONED by(dt string, hour string) STORED as orc Execute in my code: cursor = conn.cursor() sql = f''' insert into table auto_diagnose.test PARTITION(dt="2023-03-23" ,hour="10") values ("test7") '''

cursor.execute(sql) conn.commit() The code did not report an error, but no new data was added to the hive table

hhhzt avatar Mar 23 '23 03:03 hhhzt

hello, were you able to solve this issue?

ShashiSai avatar May 01 '23 00:05 ShashiSai

我也是,解决了吗

nianaoqi avatar May 16 '23 10:05 nianaoqi