google / google/googlesql

Support more type aliases

Open
#140 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.6k
Forks
260
PR merge metrics
No merged PRs in 30d

Description

There are lots of type names that are currently not supported in zetasql: https://github.com/google/zetasql/blob/master/zetasql/analyzer/resolver_test.cc#L752-L761

It would be useful if these were added as type aliases to existing types, as is pretty common practice in sql implementations:
https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#numeric_types

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing type-name coverage around zetasql/analyzer/resolver_test.cc lines 752-761 and compare it with the linked BigQuery numeric-type documentation. Trace how supported names map to existing types, then add coverage for the requested aliases and verify the resolver tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, sql
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.