()
| 11 | |
| 12 | |
| 13 | def test_basic_select(): |
| 14 | client = BlockingDatabendClient(DATABEND_DSL) |
| 15 | |
| 16 | cursor = client.cursor() |
| 17 | cursor.execute("SELECT * FROM numbers(10)") |
| 18 | rows = cursor.fetchall() |
| 19 | assert [row.values()[0] for row in rows] == [x for x in range(10)] |
| 20 | cursor.close() |