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/01/24 19:23:24 UTC

[GitHub] [arrow] gangliao commented on issue #9307: [Rust][DataFusion] Join Statement: Schema contains duplicate unqualified field name

gangliao commented on issue #9307:
URL: https://github.com/apache/arrow/issues/9307#issuecomment-766417028


    I tried two solutions:
   
   ```rust
           let sql = concat!(
               "SELECT b, d ",
               "FROM t1 JOIN t2 ON t1.a = t2.a ",
               "ORDER BY b ASC ",
               "LIMIT 3"
           );
   
           let sql = concat!(
               "SELECT t1.a as a, b, d ",
               "FROM t1 JOIN t2 ON t1.a = t2.a ",
               "ORDER BY b ASC ",
               "LIMIT 3"
           );
   ```
   
   But I still got the same error.
   
   ```shell
   thread 'tests::simple_join' panicked at 'assertion failed: `(left == right)`
     left: `1`,
    right: `0`: the test returned a termination value with a non-zero status code (1) which indicates a failure'
   ```


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

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