forked from apache/calcite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CALCITE-5788] Order of metadata handler methods is inconsistent in d…
…ifferent java versions Solve the problem by sorting methods, and handler methods, by method name. We require that method names are unique, and that methods and handlers have the same name. Besides method name, there are other checks to ensure that handler methods have the right form (e.g. they have two extra arguments, which are RelMetadataQuery and a subclass of RelNode), which used to be asserts and are now calls to Preconditions.checkArgument.
- Loading branch information
1 parent
181dd40
commit 54192eb
Showing
4 changed files
with
91 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters