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

View fails with internal error after upgrade causes expected syntax error.

    XMLWordPrintableJSON

Details

    Description

      On older Spark:
      CREATE VIEW v AS SELECT 1 ! IN (2);
      SEELCT * FROM v;
      => true
      Upgrade to Spark 4
      SELECT * FROM v;
      Internal errorĀ 

      This makes it hard to debug the problem.
      Rather than assuming that failure to parse a view text is an internal error we should assume something like upgrade broke it and expose the actual error

      Attachments

        Issue Links

          Activity

            People

              srielau Serge Rielau
              srielau Serge Rielau
              Gengliang Wang Gengliang Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: