sql: make it possible to refer to dbs/tables/indices by number #12715
Labels
A-sql-semantics
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Milestone
Like we already have ordinal references for data sources we should have ordinal references to dbs/tables/indices.
Like e.g.
SELECT * FROM !1231
to select from table 1231. orSELECT !1231 FROM foo
for column 1231 orSELECT * FROM !1231.foo
for a db ref, orSELECT * FROM foo@!1231
for an index ref.Will help with IR work and also will simplify the code produced for #12682.
cc @dt
The text was updated successfully, but these errors were encountered: