Skip to content

Unable to insert data #124

@hhhzt

Description

@hhhzt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions