Skip to content

Conversation

@bpintea
Copy link
Contributor

@bpintea bpintea commented Jul 29, 2020

  • fix npe on ambiguous group by

  • add tests for aggregates and group by, add quotes to error message

  • add more cases for Group By ambiguity test

  • change error messages for field ambiguity

  • change collection aliases approach

  • add locations of attributes for ambiguous grouping error

  • Adress review comments

  • remove Comparable implementations from Attribute and Location;
  • add ad-hoc comparator for sorting locations in ambiguity message;
  • remove added AttributeAlias class with Touple;
  • add code comment to explain issue with Location overwriting.
  • Fix c&p error in location ref generation comparator

Fix copy&paste error in dedicated comparator used for sorting ambiguity
location references.
Slightly increase its readability.

Co-authored-by: Nikita Verkhovin [email protected]
(cherry picked from commit 9ba70a3)

* fix npe on ambiguous group by

* add tests for aggregates and group by, add quotes to error message

* add more cases for Group By ambiguity test

* change error messages for field ambiguity

* change collection aliases approach

* add locations of attributes for ambiguous grouping error

* Adress review comments

- remove Comparable implementations from Attribute and Location;
- add ad-hoc comparator for sorting locations in ambiguity message;
- remove added AttributeAlias class with Touple;
- add code comment to explain issue with Location overwriting.

* Fix c&p error in location ref generation comparator

Fix copy&paste error in dedicated comparator used for sorting ambiguity
location references.
Slightly increase its readability.

Co-authored-by: Nikita Verkhovin <[email protected]>
(cherry picked from commit 9ba70a3)
@bpintea bpintea merged commit 4c77148 into elastic:7.x Jul 29, 2020
@bpintea bpintea deleted the port/7.x_9ba70a3 branch July 29, 2020 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant