Skip to content

Conversation

@jspeedz
Copy link
Owner

@jspeedz jspeedz commented Dec 12, 2025

… when executing queries 'ON CLUSTER'

refs: smi2#241, smi2#214

@jspeedz jspeedz requested a review from Copilot December 12, 2025 10:59
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a bug where FORMAT JSON was incorrectly being added to CREATE, DROP, ALTER, and RENAME queries when executing them ON CLUSTER. The fix inverts the conditional logic to exclude these DDL statement types from having the JSON format applied.

Key Changes:

  • Inverted the conditional logic in prepareWrite() method to prevent JSON format from being applied to DDL statements (CREATE, DROP, ALTER, RENAME)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jspeedz jspeedz merged commit db12920 into master Dec 12, 2025
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