Closed
Description
❌ test_fetch_one_works: assert 10103 == 10282 (3.91s)
assert 10103 == 10282
+ where 10103 = Row(tpep_pickup_datetime=datetime.datetime(2016, 2, 13, 21, 47, 53, tzinfo=datetime.timezone.utc), tpep_dropoff_dateti...13, 21, 57, 15, tzinfo=datetime.timezone.utc), trip_distance=1.4, fare_amount=8.0, pickup_zip=10103, dropoff_zip=10110).pickup_zip
04:48 DEBUG [databricks.sdk] Loaded from environment
04:48 DEBUG [databricks.sdk] Ignoring pat auth, because metadata-service is preferred
04:48 DEBUG [databricks.sdk] Ignoring basic auth, because metadata-service is preferred
04:48 DEBUG [databricks.sdk] Attempting to configure auth: metadata-service
04:48 INFO [databricks.sdk] Using Databricks Metadata Service authentication
[gw8] linux -- Python 3.10.15 /home/runner/work/lsql/lsql/.venv/bin/python
04:48 DEBUG [databricks.sdk] Loaded from environment
04:48 DEBUG [databricks.sdk] Ignoring pat auth, because metadata-service is preferred
04:48 DEBUG [databricks.sdk] Ignoring basic auth, because metadata-service is preferred
04:48 DEBUG [databricks.sdk] Attempting to configure auth: metadata-service
04:48 INFO [databricks.sdk] Using Databricks Metadata Service authentication
04:48 DEBUG [databricks.labs.lsql.core] Executing SQL statement: SELECT * FROM samples.nyctaxi.trips LIMIT 1
04:48 DEBUG [databricks.sdk] POST /api/2.0/sql/statements/
> {
> "format": "JSON_ARRAY",
> "statement": "SELECT * FROM samples.nyctaxi.trips LIMIT 1",
> "warehouse_id": "DATABRICKS_WAREHOUSE_ID"
> }
< 200 OK
< {
< "manifest": {
< "chunks": [
< {
< "chunk_index": 0,
< "row_count": 1,
< "row_offset": 0
< }
< ],
< "format": "JSON_ARRAY",
< "schema": {
< "column_count": 6,
< "columns": [
< {
< "name": "tpep_pickup_datetime",
< "position": 0,
< "type_name": "TIMESTAMP",
< "type_text": "TIMESTAMP"
< },
< "... (5 additional elements)"
< ]
< },
< "total_chunk_count": 1,
< "total_row_count": 1,
< "truncated": false
< },
< "result": {
< "chunk_index": 0,
< "data_array": [
< [
< "2016-02-13T21:47:53.000Z",
< "... (5 additional elements)"
< ]
< ],
< "row_count": 1,
< "row_offset": 0
< },
< "statement_id": "01efa631-7b24-1dc2-b5f9-3aa195fec3a0",
< "status": {
< "state": "SUCCEEDED"
< }
< }
04:48 DEBUG [databricks.sdk] Loaded from environment
04:48 DEBUG [databricks.sdk] Ignoring pat auth, because metadata-service is preferred
04:48 DEBUG [databricks.sdk] Ignoring basic auth, because metadata-service is preferred
04:48 DEBUG [databricks.sdk] Attempting to configure auth: metadata-service
04:48 INFO [databricks.sdk] Using Databricks Metadata Service authentication
04:48 DEBUG [databricks.labs.lsql.core] Executing SQL statement: SELECT * FROM samples.nyctaxi.trips LIMIT 1
04:48 DEBUG [databricks.sdk] POST /api/2.0/sql/statements/
> {
> "format": "JSON_ARRAY",
> "statement": "SELECT * FROM samples.nyctaxi.trips LIMIT 1",
> "warehouse_id": "DATABRICKS_WAREHOUSE_ID"
> }
< 200 OK
< {
< "manifest": {
< "chunks": [
< {
< "chunk_index": 0,
< "row_count": 1,
< "row_offset": 0
< }
< ],
< "format": "JSON_ARRAY",
< "schema": {
< "column_count": 6,
< "columns": [
< {
< "name": "tpep_pickup_datetime",
< "position": 0,
< "type_name": "TIMESTAMP",
< "type_text": "TIMESTAMP"
< },
< "... (5 additional elements)"
< ]
< },
< "total_chunk_count": 1,
< "total_row_count": 1,
< "truncated": false
< },
< "result": {
< "chunk_index": 0,
< "data_array": [
< [
< "2016-02-13T21:47:53.000Z",
< "... (5 additional elements)"
< ]
< ],
< "row_count": 1,
< "row_offset": 0
< },
< "statement_id": "01efa631-7b24-1dc2-b5f9-3aa195fec3a0",
< "status": {
< "state": "SUCCEEDED"
< }
< }
[gw8] linux -- Python 3.10.15 /home/runner/work/lsql/lsql/.venv/bin/python
Running from nightly #6