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 2021/07/04 14:47:04 UTC

[GitHub] [arrow-datafusion] Jimexist opened a new issue #671: self-join followed by a projection with duplicated names results in panic

Jimexist opened a new issue #671:
URL: https://github.com/apache/arrow-datafusion/issues/671


   **Describe the bug**
   A clear and concise description of what the bug is.
   
   this is most likely on how we deal with self-joins
   
   **To Reproduce**
   Steps to reproduce the behavior:
   
   ```sql
   SELECT
     t1.c9, t2.c9
   FROM test t1
   INNER JOIN test t2
   ON t1.c9 = t2.c9;
   ```
   
   ```
   thread 'main' panicked at 'index out of bounds: the len is 1 but the index is 1', ~/.cargo/registry/src/github.com-1ecc6299db9ec823/arrow-4.4.0/src/datatypes/schema.rs:165:10
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   ```
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   
   **Additional context**
   Add any other context about the problem here.
   


-- 
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] houqp commented on issue #671: self-join followed by a projection with duplicated names results in panic

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


   This should be fixed by https://github.com/apache/arrow-datafusion/pull/605


-- 
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] alamb closed issue #671: self-join followed by a projection with duplicated names results in panic

Posted by GitBox <gi...@apache.org>.
alamb closed issue #671:
URL: https://github.com/apache/arrow-datafusion/issues/671


   


-- 
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] houqp edited a comment on issue #671: self-join followed by a projection with duplicated names results in panic

Posted by GitBox <gi...@apache.org>.
houqp edited a comment on issue #671:
URL: https://github.com/apache/arrow-datafusion/issues/671#issuecomment-873636399


   This should be fixed by https://github.com/apache/arrow-datafusion/pull/605
   
   ```
   >  CREATE EXTERNAL TABLE test(c9 int)
   STORED AS CSV
   LOCATION '/tmp/foo.csv';
   0 rows in set. Query took 0.000 seconds.
   > SELECT
     t1.c9, t2.c9
   FROM test t1
   INNER JOIN test t2
   ON t1.c9 = t2.c9;
   +----+----+
   | c9 | c9 |
   +----+----+
   | 4  | 4  |
   | 3  | 3  |
   | 1  | 1  |
   | 2  | 2  |
   +----+----+
   4 rows in set. Query took 0.021 seconds.
   ```


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