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

Remove features that were deprecated for 1.0 #6706

Merged
merged 2 commits into from
May 25, 2016

Conversation

jsternberg
Copy link
Contributor

No description provided.

@@ -394,6 +385,12 @@ func (e *StatementExecutor) executeSetPasswordUserStatement(q *influxql.SetPassw
}

func (e *StatementExecutor) executeSelectStatement(stmt *influxql.SelectStatement, ctx *influxql.ExecutionContext) error {
// If there is a target and we are in a read only context, exit early since
// we will return an error.
if stmt.Target != nil && ctx.ReadOnly {
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks like a breaking change. If it is, I'd rather we leave it as is for backwards compatibility since many clients would need to be updated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is, but so is changing all of the read only stuff from #6290 to now throw an error instead of a warning.

Copy link
Contributor

Choose a reason for hiding this comment

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

That's what I'm saying though. It should not throw an error. Removing for 1.0 is not enough time to allow clients to update.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed the commits that remove IF NOT EXISTS and IF EXISTS along with the commit that removes support for using write operations in a read only context. Modified the warning message so it doesn't mention 1.0.

@jwilder
Copy link
Contributor

jwilder commented May 23, 2016

Each of these needs release note items in the change log.

@jsternberg jsternberg force-pushed the js-remove-deprecated-features branch 2 times, most recently from b913112 to 57812dd Compare May 23, 2016 21:04
@benbjohnson
Copy link
Contributor

👍

@jsternberg jsternberg force-pushed the js-remove-deprecated-features branch from 57812dd to 0c3e834 Compare May 24, 2016 13:49
Removed the version that it would be removed in as we will not be
removing it for 1.0.
@jsternberg jsternberg force-pushed the js-remove-deprecated-features branch from 0c3e834 to 1518e5e Compare May 24, 2016 13:50
@jwilder
Copy link
Contributor

jwilder commented May 25, 2016

👍

@jsternberg jsternberg merged commit cebe256 into master May 25, 2016
@jsternberg jsternberg deleted the js-remove-deprecated-features branch May 25, 2016 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants