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

Apply Multiple Aggregate function in a single query. #431

Merged
merged 9 commits into from
Jan 22, 2024

Conversation

dabhicusp
Copy link
Collaborator

Added Support for the variable name with Quote in SELECT Clause and Multiple Aggregate functions in a single query.
Queries such as the following are now supported:

SELECT 
    SUM(charnock) , AVG(temperature), AVG(charnock) 
FROM 
    'gs://gcp-public-data-arco-era5/ar/full_37-1h-0p25deg-chunk-1.zarr-v3' 
WHERE 
    time >= '2022-03-01' AND time < '2022-03-02' AND latitude < -66.5
SELECT 
    '100m_v_component_of_wind'  
FROM 
    'gs://gcp-public-data-arco-era5/ar/full_37-1h-0p25deg-chunk-1.zarr-v3' 
WHERE 
    time >= '2022-03-01' AND time < '2022-03-02' AND latitude < -66.5

Copy link
Collaborator

@mahrsee1997 mahrsee1997 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@mahrsee1997 mahrsee1997 merged commit 8b4fdf9 into main Jan 22, 2024
7 checks passed
@mahrsee1997 mahrsee1997 deleted the multiple_aggregation branch January 22, 2024 11:02
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

Successfully merging this pull request may close these issues.

4 participants