ConsistentSetOperationColumnCountRule

Reports set operations whose adjacent SELECT lists return different column counts.

The rule compares statically countable SELECT lists on each side of UNION, INTERSECT, and EXCEPT. Wildcard SELECT targets are left to standard:no-select-star because they do not expose a reliable column count.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val defaultEnable: Boolean = true
Link copied to clipboard
open override val defaultSeverity: Severity
Link copied to clipboard
Link copied to clipboard
open override val id: RuleId
Link copied to clipboard
open val options: Set<RuleOption<*>>
Link copied to clipboard

Functions

Link copied to clipboard
open fun isApplicable(context: RuleContext): Boolean
Link copied to clipboard
open override fun run(context: RuleContext, reporter: DiagnosticReporter)