CartoDB / carto-react

CARTO for React packages
https://docs.carto.com/react/
MIT License
38 stars 16 forks source link

Prevent duplicated columns in TableModel #916

Closed jmgaya closed 1 month ago

jmgaya commented 1 month ago

Description

Shortcut: (443603)

Works ✅

curl 'https://gcp-us-east1.api.carto.com/v3/sql/carto_dw/model/table?type=query&client=builder&source=SELECT+*+FROM+%60carto-demo-data.demo_tables.newyork_ooh_sample_audience_h3%60&params=%7B%22column%22%3A%5B%22h3%22%2C%22geom%22%2C%22female_20_f727dc_sum%22%5D%2C%22sortDirection%22%3A%22asc%22%2C%22limit%22%3A5%2C%22offset%22%3A0%7D&queryParameters=%5B%5D&filters=%7B%7D&filtersLogicalOperator=and&spatialFiltersMode=intersects' \
  -H 'accept: */*' \
  -H 'authorization: Bearer <place-here-your-token>' \
  -H 'cache-control: no-cache'

Fails 💔

curl 'https://gcp-us-east1.api.carto.com/v3/sql/carto_dw/model/table?type=query&client=builder&source=SELECT+*+FROM+%60carto-demo-data.demo_tables.newyork_ooh_sample_audience_h3%60&params=%7B%22column%22%3A%5B%22h3%22%2C%22geom%22%2C%22female_20_f727dc_sum%22%2C%22h3%22%5D%2C%22sortDirection%22%3A%22asc%22%2C%22limit%22%3A5%2C%22offset%22%3A0%7D&queryParameters=%5B%5D&filters=%7B%7D&filtersLogicalOperator=and&spatialFiltersMode=intersects' \
  -H 'accept: */*' \
  -H 'authorization: Bearer <place-here-your-token>' \
  -H 'cache-control: no-cache'

Type of change

github-actions[bot] commented 1 month ago

Pull Request Test Coverage Report for Build 11122683039

Details


Totals Coverage Status
Change from base Build 11102177529: 0.0%
Covered Lines: 2893
Relevant Lines: 3749

💛 - Coveralls
github-actions[bot] commented 1 month ago

Visit the preview URL for this PR (updated for commit a73653b):

https://cartodb-fb-storybook-react-dev--pr916-bug-443603-preve-vj0shcaj.web.app

(expires Tue, 08 Oct 2024 09:41:54 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 517cc4d31d7e09cf277774e034094b67c301cd4c