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