Serge Rielau created SPARK-48929:
------------------------------------

             Summary: View fails with internal error after upgrade causes 
expected syntax error.
                 Key: SPARK-48929
                 URL: https://issues.apache.org/jira/browse/SPARK-48929
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 4.0.0
            Reporter: Serge Rielau
             Fix For: 4.0.0


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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to