You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the latest development version, the following does no longer work:
datacontract test https://datacontract.com/examples/orders-latest/datacontract.yaml
It shows:
(venv) ➜ datacontract-demo datacontract test https://datacontract.com/examples/orders-latest/datacontract.yaml
Testing https://datacontract.com/examples/orders-latest/datacontract.yaml
ERROR:root:Exception occurred
Traceback (most recent call last):
File "/Users/simonharrer/Projects/datacontract-cli/datacontract/data_contract.py", line 202, in test
check_soda_execute(run, data_contract, server, self._spark, tmp_dir)
File "/Users/simonharrer/Projects/datacontract-cli/datacontract/engines/soda/check_soda_execute.py", line 28, in check_soda_execute
con = get_duckdb_connection(data_contract, server, run)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/simonharrer/Projects/datacontract-cli/datacontract/engines/soda/connections/duckdb.py", line 39, in get_duckdb_connection
con.sql(query)
duckdb.duckdb.HTTPException: HTTP Error: HTTP GET error on '/?encoding-type=url&list-type=2&prefix=v2%2Forders%2F' (HTTP 400)
ERROR:root:HTTP Error: HTTP GET error on '/?encoding-type=url&list-type=2&prefix=v2%2Forders%2F' (HTTP 400)
╭────────┬──────────────────────────────────┬────────────┬────────────────────────────────────────────────────╮
│ Result │ Check │ Field │ Details │
├────────┼──────────────────────────────────┼────────────┼────────────────────────────────────────────────────┤
│ passed │ Check that JSON has valid schema │ orders │ All JSON entries are valid. │
│ passed │ Check that JSON has valid schema │ line_items │ All JSON entries are valid. │
│ error │ Test Data Contract │ │ HTTP Error: HTTP GET error on │
│ │ │ │ '/?encoding-type=url&list-type=2&prefix=v2%2Forde… │
│ │ │ │ (HTTP 400) │
╰────────┴──────────────────────────────────┴────────────┴────────────────────────────────────────────────────╯
🔴 data contract is invalid, found the following errors:
1) HTTP Error: HTTP GET error on '/?encoding-type=url&list-type=2&prefix=v2%2Forders%2F' (HTTP 400)
The text was updated successfully, but these errors were encountered:
With the latest development version, the following does no longer work:
It shows:
The text was updated successfully, but these errors were encountered: