Closed sebastian closed 4 years ago
Maybe this can be reproduced by calling the API with an empty column list?
Like
curl -k -X POST -H "Content-Type: application/json" http://localhost:5000/api/v1/explore \
-d "{
\"ApiUrl\":\"https://attack.aircloak.com/api/\"
\"ApiKey\":\"my_secret_key\",
\"DataSource\": \"gda_banking\",
\"Table\":\"loans\",
\"Columns\":[]
}"
I can consistently reproduce this error by analyzing the
customers
table in the local test data sourcecloak_postgres_native
.It's a table containing nothing but a
user_id
column, which gets filtered out before the request is made, hence presumably explorer is asked to analyze a table with no columns.