Skip to content

Conversation

vasia
Copy link
Contributor

@vasia vasia commented Apr 12, 2016

Currently UnionToDistinctRule converts all unions to union-all + distinct, so this is just an extra check to make sure that unions are not translated in case the rule is removed or won't match.

val union: LogicalUnion = call.rel(0).asInstanceOf[LogicalUnion]
union.all
}
def convert(rel: RelNode): RelNode = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a newline between the methods. I also looks like the indention of {{convert}} is a bit messed up. Can you correct that as well?

@fhueske
Copy link
Contributor

fhueske commented Apr 13, 2016

Just a minor style comment. Good to merge otherwise. Thanks @vasia

@vasia
Copy link
Contributor Author

vasia commented Apr 13, 2016

Thanks. I'll fix the style and merge!

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.

4 participants