You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "berkaysynnada (via GitHub)" <gi...@apache.org> on 2023/05/25 11:54:39 UTC

[GitHub] [arrow-datafusion] berkaysynnada opened a new issue, #6440: SELECT INTO with ORDER BY or LIMIT

berkaysynnada opened a new issue, #6440:
URL: https://github.com/apache/arrow-datafusion/issues/6440

   ### Describe the bug
   
   `SELECT * INTO new_table FROM my_table` While this query works properly, 
   `SELECT * INTO new_table FROM my_table LIMIT 5` and `SELECT * INTO new_table FROM my_table ORDER BY c1` queries give an error as: `External error: statement failed: DataFusion error: This feature is not implemented: Unsupported logical plan: CreateMemoryTable`.
   
   ### To Reproduce
   
   ```
   statement ok
   CREATE TABLE my_table(c1 int, c2 float, c3 varchar) AS VALUES(1, 2, 'hello')
   statement ok
   SELECT * INTO new_table FROM my_table LIMIT 5
   ```
   
   ### Expected behavior
   
   `SELECT * INTO new_table FROM my_table LIMIT 5` gives the same result as `CREATE TABLE new_table AS SELECT * FROM my_table LIMIT 5` (and for ORDER BY cases).
   
   ### Additional context
   
   _No response_


-- 
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] mustafasrepo closed issue #6440: SELECT INTO with ORDER BY or LIMIT

Posted by "mustafasrepo (via GitHub)" <gi...@apache.org>.
mustafasrepo closed issue #6440: SELECT INTO with ORDER BY or LIMIT 
URL: https://github.com/apache/arrow-datafusion/issues/6440


-- 
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