MCPcopy Index your code
hub / github.com/questdb/questdb / create_table

Function create_table

benchmarks/src/main/python/insert_bench.py:29–38  ·  view source on GitHub ↗
(pool)

Source from the content-addressed store, hash-verified

27
28
29async def create_table(pool):
30 async with pool.acquire() as conn:
31 await conn.execute('''
32 CREATE TABLE IF NOT EXISTS user_data (
33 name SYMBOL,
34 email VARCHAR,
35 age LONG,
36 created_at TIMESTAMP
37 ) timestamp(created_at) partition by hour;
38 ''')
39
40
41def generate_test_data(num_records):

Callers 1

mainFunction · 0.85

Calls 2

executeMethod · 0.65
acquireMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…