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

Add parser support for additional variant types. #1590

Open
RCHowell opened this issue Sep 20, 2024 · 1 comment
Open

Add parser support for additional variant types. #1590

RCHowell opened this issue Sep 20, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@RCHowell
Copy link
Contributor

Relevant Issue/Bug

Our charter claims syntax independence, yet our specification encodes Ion into the syntax.

Charter Format Independence

PartiQL syntax and semantics are not tied to any particular data format.

PartiQL Specification Data Model Syntax

scalar_value     = "`", ? ion literal ?, "`"
                 | ? sql literal ? ;

Requested Solution/Feature

Generalize the backticks to be true to the charter while keeping Ion as the default.

<value>
    ::= "`" <utf8> "`" ["::" <encoding>] // if encoding is omitted, '::ion' is implicit
      | <sql literal>

<encoding>
    ::= <regular identifier>
@RCHowell RCHowell added the enhancement New feature or request label Sep 20, 2024
@RCHowell
Copy link
Contributor Author

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

No branches or pull requests

1 participant