Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL validation: UAT adds iceberg to the response #360

Open
MortenHofft opened this issue Nov 1, 2024 · 0 comments
Open

SQL validation: UAT adds iceberg to the response #360

MortenHofft opened this issue Nov 1, 2024 · 0 comments

Comments

@MortenHofft
Copy link
Member

I call the service with

{
  "format": "SQL_TSV_ZIP", 
  "sql": "SELECT datasetKey, countryCode, COUNT(*) FROM occurrence WHERE continent = 'EUROPE' GROUP BY datasetKey, countryCode" 
}

It accepts the sql, but reformats it to SELECT datasetkey, countrycode, COUNT(*)\nFROM iceberg.occurrence\nWHERE occurrence.continent = 'EUROPE'\nGROUP BY occurrence.datasetkey, occurrence.countrycode which Is then invalid when used. NB: the iceberg part

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant