Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CALCITE-800] Throw Validation Error if OVER clause is given in Windo… #106

Closed
wants to merge 1 commit into from
Closed

Conversation

hsuanyi
Copy link
Contributor

@hsuanyi hsuanyi commented Jul 15, 2015

…w's Partition-by or Order-by

@Override
public Void visit(SqlCall call) {
if (call.getKind() == SqlKind.OVER) {
throw new FoundOne(call);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please use static exception instance?

@hsuanyi
Copy link
Contributor Author

hsuanyi commented Jul 15, 2015

Addressed Vladimir Sitnikov's comment

@vlsi
Copy link
Contributor

vlsi commented Jul 15, 2015

👍

@asfgit asfgit closed this in ef5833f Jul 17, 2015
ldming pushed a commit to ldming/mycalcite that referenced this pull request Sep 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants