Skip to content

Commit

Permalink
Update integrating-with-databend-cloud-using-databend-driver.md
Browse files Browse the repository at this point in the history
  • Loading branch information
soyeric128 committed Jan 22, 2025
1 parent 8634c1f commit 75fda9c
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ cursor = client.cursor()
cursor.execute('DROP TABLE IF EXISTS data')

# Create the table if it doesn't exist
cursor.execute('CREATE TABLE IF NOT EXISTS data (x Int32, y String)')

# Describe the table
cursor.execute('DESC data')
cursor.execute('CREATE TABLE IF NOT EXISTS data (x Int32, y String)')

# Insert data into the table
cursor.execute("INSERT INTO data (x, y) VALUES (1, 'yy'), (2, 'xx')")
Expand Down

0 comments on commit 75fda9c

Please sign in to comment.