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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 2.3.1, 2.4.0
    • SQL
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: