Merge remote-tracking branch 'github/master'
Merge remote-tracking branch 'github/master'
Merge remote-tracking branch 'github/master'
Merge remote-tracking branch 'github/master'
Merge remote-tracking branch 'github/master'
Merge remote-tracking branch 'github/master'
Merge remote-tracking branch 'github/master'
Merge remote-tracking branch 'github/master'
Show loop binding position in EXPLAIN VERBOSE. Use this mode in debug trace, but not in existing test .expected.
Merge remote-tracking branch 'github/master'
Add a YAML version of one of the incidents that shows the failure.
Freeze a ProjectedRow that exits the inside of a (non-pipelined) Map_NestedLoops, the same way it is frozen by Sort_InsertionLimited.
Make the SUM YAML test have a scale other than 0. Try to avoid trailing zeros so test runs in Python, too.
Make SUM(DECIMAL) picking to get the right scale / precision.
merge MMcM: Show loop binding position in EXPLAIN VERBOSE.

Merge pull request #1141 from MMcM/sql-layer/explain-verbose-map-position
https://github.com/FoundationDB/sql-layer/pull/1141
merge MMcM: Freeze a ProjectedRow leaving a Map_NestedLoops

Merge pull request #1142 from MMcM/sql-layer/old-map-freeze-projected-row
https://github.com/FoundationDB/sql-layer/pull/1142
merge MMcM:  Make SUM(DECIMAL) picking to get the right scale / precision.

Merge pull request #1143 from MMcM/sql-layer/sum-decimal
https://github.com/FoundationDB/sql-layer/pull/1143
Add a flag to control how broadly aliases are available in GROUP BY / HAVING / ORDER BY.
Add some tests of the various cases.
Pass that along from rules tests and optimizer.