clojurians-org opened a new issue, #2299:
URL: https://github.com/apache/arrow-datafusion/issues/2299

   **Describe the bug**
   ```
   limit produce error data. 
   ```
   **To Reproduce**
   ```
   MySQL [(none)]> select 1 + 3 ;
   +---------------------+
   | Int64(1) + Int64(3) |
   +---------------------+
   |                   4 |
   +---------------------+
   1 row in set (0.079 sec)
   
   MySQL [(none)]> select 1 + 3 limit 0, 200 ;
   Query OK, 0 rows affected (0.075 sec)
   
   MySQL [(none)]> explain select 1 + 3 limit 0, 200 ;
   +---------------+-----------------------------------+
   | plan_type     | plan                              |
   +---------------+-----------------------------------+
   | logical_plan  | EmptyRelation                     |
   | physical_plan | EmptyExec: produce_one_row=false
    |
   +---------------+-----------------------------------+
   2 rows in set (0.074 sec)
   
   MySQL [(none)]> explain select 1 + 3 ;
   
+---------------+------------------------------------------------------------------------------------+
   | plan_type     | plan                                                       
                        |
   
+---------------+------------------------------------------------------------------------------------+
   | logical_plan  | Projection: Int64(4) AS Int64(1) + Int64(3)
     EmptyRelation                        |
   | physical_plan | ProjectionExec: expr=[4 as Int64(1) + Int64(3)]
     EmptyExec: produce_one_row=true
    |
   
+---------------+------------------------------------------------------------------------------------+
   2 rows in set (0.072 sec)
   ```
   
   **Expected behavior**
   
   
   **Additional context**
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to