Skip to content

vtgate support warnings#4280

Merged
sougou merged 5 commits intovitessio:masterfrom
tinyspeck:vtgate-support-warnings
Oct 28, 2018
Merged

vtgate support warnings#4280
sougou merged 5 commits intovitessio:masterfrom
tinyspeck:vtgate-support-warnings

Conversation

@demmer
Copy link
Copy Markdown
Member

@demmer demmer commented Oct 17, 2018

Description

Add warnings to the vtgate session. (Part 3 of #4279)

Details

Extend the vtgate.Session proto object to include an array of QueryWarnings, each with a code and warning string.
Add support for SHOW WARNINGS to return them to the caller.

@demmer demmer force-pushed the vtgate-support-warnings branch 2 times, most recently from 654d58c to 7e6ecda Compare October 24, 2018 15:39
@sougou
Copy link
Copy Markdown
Contributor

sougou commented Oct 27, 2018

Need to resolve parser conflicts.

To enable conveying out of band warnings, add a new proto definition
for a QueryWarning and add a repeated array to the vtgate session.

Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
@demmer demmer force-pushed the vtgate-support-warnings branch from ea15cc3 to 4095e4c Compare October 27, 2018 23:01
@demmer
Copy link
Copy Markdown
Member Author

demmer commented Oct 27, 2018

@sougou -- Rebased and resolved parser conflict.

@sougou sougou merged commit 1a140f9 into vitessio:master Oct 28, 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

Development

Successfully merging this pull request may close these issues.

2 participants