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

PartiQL map Type Specification #8

Open
am357 opened this issue Jul 27, 2023 · 0 comments
Open

PartiQL map Type Specification #8

am357 opened this issue Jul 27, 2023 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@am357
Copy link
Contributor

am357 commented Jul 27, 2023

PartiQL 2019 Specification does not define a first-class map type.

Why not using struct (or tuple) Type?

It is a fair question and we need to examine it through the work required for this issue. Having said that, PartiQL struct can be used in a way as map or multimap with the limitation of their key to be string. Is that sufficient for a map type in PartiQL? considering the prior art in industry—e.g., Apache Iceberg or Hive DDL—perhaps not.

DoD

  1. We have a clear understanding of why we cannot use struct (or tuple type) and need a first class type for map.
  2. If we actually require map type:
  • We have an experimental implementation of map type.
  • We have an RFC that describes the syntax and semantics of map type.
@am357 am357 added enhancement New feature or request question Further information is requested labels Jul 27, 2023
@johnedquinn johnedquinn transferred this issue from partiql/partiql-spec Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant