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

throw an exception if project-rename has duplicate columns #370

Open
wants to merge 530 commits into
base: Kusto-phase3
Choose a base branch
from

Conversation

bemitc
Copy link

@bemitc bemitc commented Jul 11, 2023

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

throw an exception if project-rename has duplicate columns

Information about CI checks: https://clickhouse.com/docs/en/development/continuous-integration/

@bemitc bemitc requested a review from kashwy July 11, 2023 13:49
src/Parsers/Kusto/KQLContext.h Outdated Show resolved Hide resolved
src/Interpreters/executeQuery.cpp Outdated Show resolved Hide resolved
@@ -9,9 +9,14 @@ namespace DB

class ParserKQLStatement : public IParserBase
{
public:
explicit ParserKQLStatement() = default;
Copy link

Choose a reason for hiding this comment

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

I don't think there should be a default constructor, because otherwise you'd encounter cases where your solution wouldn't be able to function.

src/Parsers/Kusto/ParserKQLProjectRename.h Outdated Show resolved Hide resolved
src/Parsers/Kusto/ParserKQLProjectRename.h Outdated Show resolved Hide resolved
src/Parsers/Kusto/ParserKQLProjectRename.h Outdated Show resolved Hide resolved
src/Parsers/Kusto/ParserKQLProjectRename.h Outdated Show resolved Hide resolved
@ClibMouse ClibMouse deleted a comment from ltrk2 Jul 27, 2023
@kothiga kothiga force-pushed the Kusto-phase3 branch 2 times, most recently from 1e1f94f to 3fab19c Compare January 12, 2024 20:09
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.

6 participants