Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-24128

Mention spark.sql.crossJoin.enabled in implicit cartesian product error msg

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.3.1, 2.4.0
    • Component/s: SQL
    • Labels:
      None

      Description

      The error message given when a query contains an implicit cartesian product suggests rewriting the query using CROSS JOIN, but not disabling the check using spark.sql.crossJoin.enabled=true. It's sometimes easier to change a config variable than edit a query, so it would be helpful to make the user aware of their options.

        Attachments

          Activity

            People

            • Assignee:
              henryr Henry Robinson
              Reporter:
              henryr Henry Robinson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: