You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/04/21 02:16:06 UTC

[GitHub] [arrow-datafusion] clojurians-org opened a new issue, #2299: limit data error

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: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] clojurians-org closed issue #2299: limit data error

Posted by GitBox <gi...@apache.org>.
clojurians-org closed issue #2299: limit data error
URL: https://github.com/apache/arrow-datafusion/issues/2299


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] clojurians-org commented on issue #2299: limit data error

Posted by GitBox <gi...@apache.org>.
clojurians-org commented on issue #2299:
URL: https://github.com/apache/arrow-datafusion/issues/2299#issuecomment-1104738623

   the limit only support single number.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org