Skip to content

Misc feature requests#1591

Merged
sougou merged 5 commits into
vitessio:masterfrom
sougou:v3
Mar 24, 2016
Merged

Misc feature requests#1591
sougou merged 5 commits into
vitessio:masterfrom
sougou:v3

Conversation

@sougou
Copy link
Copy Markdown
Contributor

@sougou sougou commented Mar 23, 2016

@alainjobart
Some pending feature requests:

  • INTERVAL support (partial)
  • NEXT is now a traditional reserved word. The previous flexible construct wasn't really protecting much. Might as well go with simpler code.
  • Found some KEYRANGE remnants. Cleaned up.
  • Allow post-process constructs to reference anonymous columns if '*' was used in the SELECT expression list.

This change is Reviewable

sougou added 4 commits March 23, 2016 12:55
This is only a partial support for allowing INTERVAL
in the date & time functions. This precludes usage of
INTERVAL as a function. We're deferring this grammar
rework until a real need arises.
Unlike VALUE, it's not as offensive to require back-quoting
of column names that are called 'next'. So, simplifying the
code accordingly is worth it.
If we allowed '*' expressions in select, the postprocessing
col refs can match them a-la-wildcard. There is no harm in
this matching because no column numbers get used int the
process, which is where things could break.
However, we allow '*' expressions only if we know that we
won't need column numbers. So, all is well.
@alainjobart
Copy link
Copy Markdown
Contributor

LGTM

Approved with PullApprove

@sougou sougou merged commit 6605272 into vitessio:master Mar 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants