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
As we want to prevent user to query columns not indexed when the resource_file is heavy (in resource exceptions), we need to prevent querying these columns from tabular-api :
tabular-api already query tables_index first before getting result of a user query. So we have to get columns values from indexes column of this table tables_index.
we analyze parameters of the user query and if there is columns not present in the indexes for theses cases, we raise an error and say to user that is not possible to query this column.
We also have to adapt swagger for this type of file. swagger route today generate info for all columns of the table. We want for these type of files to only show columns in indexes in swagger.
The text was updated successfully, but these errors were encountered:
Relative to datagouv/hydra#114
As we want to prevent user to query columns not indexed when the resource_file is heavy (in resource exceptions), we need to prevent querying these columns from
tabular-api
:tables_index
first before getting result of a user query. So we have to get columns values fromindexes
column of this tabletables_index
.indexes
for theses cases, we raise an error and say to user that is not possible to query this column.We also have to adapt swagger for this type of file.
swagger
route today generate info for all columns of the table. We want for these type of files to only show columns in indexes in swagger.The text was updated successfully, but these errors were encountered: