-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Refactoring influxql package to enable golint #5366
Conversation
@gabelev Can you rebase? |
e362d12
to
258a5a3
Compare
@jwilder rebased. |
@@ -1406,6 +1407,7 @@ func (s *SelectStatement) validateAggregates(tr targetRequirement) error { | |||
return nil | |||
} | |||
|
|||
// HasDistinct is an exported method that checks if a select statment contains DISTINCT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can leave off the exported method
part since anything starting with a capital letter is implicitly exported.
A couple of small things, but looks good. |
258a5a3
to
fd4ae0b
Compare
@jwilder: awesome, thanks. made the changes. Also added my credit to a previous merge I had in the changelog as well. |
fd4ae0b
to
ecd5ff3
Compare
@gabelev Can you remove the |
@jwilder whoops. must have gotten caught up in the rebase. ok. done. thanks! |
88701aa
to
ae3aac3
Compare
@jwilder: is this ok to merge? |
LGTM. @benbjohnson |
@@ -749,6 +749,7 @@ func (s *AlterRetentionPolicyStatement) RequiredPrivileges() ExecutionPrivileges | |||
return ExecutionPrivileges{{Admin: true, Name: "", Privilege: AllPrivileges}} | |||
} | |||
|
|||
// FillOption represents different options for aggregare windows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"aggregate"
ea88807
to
a9fcc32
Compare
@benbjohnson: Cool. I made those two comments a little more helpful/descriptive in this latest patch. |
👍 |
Refactoring influxql package to enable golint
Cleaned up the influxql package so that there are no errors when running golint. Mainly this meant adjusting and/or adding comments, but also involved changing some variable names as you can see below.