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

feat: implement support for more well-known-types #10

Merged
merged 1 commit into from
Jan 2, 2021
Merged

feat: implement support for more well-known-types #10

merged 1 commit into from
Jan 2, 2021

Commits on Jan 2, 2021

  1. feat: implement support for more well-known-types

    - google.protobuf.Struct (mapped to a JSON STRING)
    - google.type.TimeOfDay (mapped to TIME)
    - google.type.Date (mapped to DATE)
    - google.type.LatLng (mapped to GEOGRAPHY)
    
    The reason for using GEOGRAPHY as default for LatLng is because of the
    clustering opportunities for tables that store locations as GEOGRAPHY.
    
    Future SchemaOptions may override to store LatLng as a record instead.
    
    Integration tested against public BigQuery datasets. The intention is to
    identify datasets that exercise the features of this library, then
    perform a load/marshal/unmarshal sequence and validate that the original
    result is preserved.
    odsod committed Jan 2, 2021
    Configuration menu
    Copy the full SHA
    5b32eee View commit details
    Browse the repository at this point in the history