File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,16 +43,17 @@ Databend is an open-source enterprise data warehouse built in Rust.
4343[ Start for free on Databend Cloud] ( https://docs.databend.com/guides/cloud/ ) — Production-ready in 60 seconds.
4444
4545### 2. Local (Python)
46- Ideal for development and testing:
46+ Ideal for development and testing. Requires Python 3.12 or 3.13 and ` databend-driver ` 0.34.0 or later :
4747
4848``` bash
49- pip install databend
49+ pip install " databend-driver[local]>=0.34.0 "
5050```
5151
5252``` python
53- import databend
54- ctx = databend.SessionContext()
55- ctx.sql(" SELECT 'Hello, Databend!'" ).show()
53+ from databend_driver import connect
54+
55+ conn = connect(" databend+local:///./local-state" )
56+ print (conn.query_row(" SELECT 'Hello, Databend!'" ).values())
5657```
5758
5859### 3. Docker
@@ -109,4 +110,4 @@ SELECT my_agent(question) FROM tasks;
109110<strong >Enterprise warehouse, agent ready</strong ><br >
110111<a href =" https://databend.com " >🌐 Website</a > •
111112<a href =" https://x.com/DatabendLabs " >🐦 Twitter</a >
112- </div >
113+ </div >
You can’t perform that action at this time.
0 commit comments