Are synthetic names prescribed by the specification, or are they implementation defined? #84
Unanswered
RCHowell
asked this question in
Specification
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The PartiQL Specification uses “_1" and “_n” in some interesting ways. In the absence of some explicit bind name, "synthetic" or "fresh" names are used. It's not clear if this is implementation defined or there are some rules to how these names are enumerated.
Ask
This behavior should either explicitly defined or clearly designated as implementation defined.
Discussion Questions
Background
In the case of the enumerated synthetic names, there seems to be a "counter" — it's not clear if this counter is scoped in any way. For example,
References to Synthetic
References to Fresh Variable
It’s not clear the scope of n, or where synthetic names come from. Similarly the aggregations section talks about “fresh variables” which seems related, but it doesn’t follow the “_” convention.
Beta Was this translation helpful? Give feedback.
All reactions