Skip to content

[Sqlparser] Normalizer should skip TableName and ColName#4156

Merged
sougou merged 1 commit intovitessio:masterfrom
danieltahara:walk-optimize
Aug 24, 2018
Merged

[Sqlparser] Normalizer should skip TableName and ColName#4156
sougou merged 1 commit intovitessio:masterfrom
danieltahara:walk-optimize

Conversation

@danieltahara
Copy link
Copy Markdown

TableName and ColName are the most frequent node types but are
effectively terminal -- they won't contain the nodes types that the
normalizer targets. Therefore, skip walking their children.

Signed-off-by: Daniel Tahara tahara@dropbox.com

TableName and ColName are the most frequent node types but are
effectively terminal -- they won't contain the nodes types that the
normalizer targets. Therefore, skip walking their children.

Signed-off-by: Daniel Tahara <tahara@dropbox.com>
@danieltahara danieltahara requested a review from sougou August 23, 2018 20:21
@sougou sougou merged commit 24d253e into vitessio:master Aug 24, 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