-
- Downloads
Fix nested query issue with SparkSQL driver [ci drivers]
Previously the driver was only looking one and two levels deep for the source table. In the case of nested and binned queries, this could be buried deeper in the MBQL query. This commit switches form an `or` clause and a couple of `get-in`s to a `postwalk` that will find the table however it's nested in the query.
Showing
- src/metabase/driver/sparksql.clj 8 additions, 3 deletionssrc/metabase/driver/sparksql.clj
- src/metabase/query_processor/util.clj 30 additions, 1 deletionsrc/metabase/query_processor/util.clj
- test/metabase/query_processor/util_test.clj 40 additions, 0 deletionstest/metabase/query_processor/util_test.clj
Please register or sign in to comment