== Physical Plan ==
CollectLimit (2)
+- * Scan JDBCRelation((SELECT TOP 1 1 AS has_row FROM dbo.fact_spa_audit_violation_summary_nc) AS probe) [numPartitions=1] (1)
(1) Scan JDBCRelation((SELECT TOP 1 1 AS has_row FROM dbo.fact_spa_audit_violation_summary_nc) AS probe) [numPartitions=1] [codegen id : 1]
Output [1]: [has_row#10567862]
ReadSchema: struct<has_row:int>
(2) CollectLimit
Input [1]: [has_row#10567862]
Arguments: 1