title: How to Skip values of $EmptyMap of size=0 in scala
body: <p>I am using a SQL query to get data and map the column name and and value to a tuple, then map the set of tuples to a map list, I need to skip the maps with size 0 and only get the maps with values.</p>
  
  <p>My code and results as follows.</p>
  
  <p><code>SELECT orbkn_surgery_procedures_order_status,orbkn_surgery_procedures_id,orbkn_surgery_procedures_or_booking,orbkn_surgery_procedures_created_date_time,orbkn_surgery_procedures_order_id FROM OR_Cube_for_surgery</code></p>
  
  <pre><code>    try {
    NamedDB(Symbol(db)) readOnly { implicit session =&gt;
  
        Right(
  
          SQL(sql + " LIMIT 50000")
            .map(_.toMap())
            .list
            .apply()
        )
    }
  </code></pre>
  
  <p>Result set I get</p>
  
  <pre><code>Right(List(Map(), Map(orbkn_surgery_procedures_id -&gt; 41, orbkn_surgery_procedures_or_booking -&gt; 734, orbkn_surgery_procedures_order_id -&gt; 105610),Map(orbkn_surgery_procedures_order_status -&gt; OPD, orbkn_surgery_procedures_id -&gt; 174, orbkn_surgery_procedures_or_booking -&gt; 883, orbkn_surgery_procedures_order_id -&gt; 100788), Map(orbkn_surgery_procedures_order_status -&gt; IPD, orbkn_surgery_procedures_id -&gt; 175, orbkn_surgery_procedures_or_booking -&gt; 884, orbkn_surgery_procedures_order_id -&gt; 106321), Map(orbkn_surgery_procedures_order_status -&gt; IPD, orbkn_surgery_procedures_id -&gt; 176, orbkn_surgery_procedures_or_booking -&gt; 886, orbkn_surgery_procedures_order_id -&gt; 106354),Map(), Map(), Map(), Map(), Map(), Map(), Map(), Map(), Map(), Map(), Map(), Map()))
  </code></pre>
  
  <p>I need to get rid of those <code>Map()</code> and get only the set of Maps(WITH ANY DATA)</p>