diff --git a/src/Analyzer/Resolve/ReplaceColumnsVisitor.h b/src/Analyzer/Resolve/ReplaceColumnsVisitor.h index 60708ec08a6..5bbbe0f7263 100644 --- a/src/Analyzer/Resolve/ReplaceColumnsVisitor.h +++ b/src/Analyzer/Resolve/ReplaceColumnsVisitor.h @@ -6,6 +6,11 @@ namespace DB { +namespace ErrorCodes +{ + extern const int LOGICAL_ERROR; +} + /// Used to replace columns that changed type because of JOIN to their original type class ReplaceColumnsVisitor : public InDepthQueryTreeVisitor {