Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
Description
Consider the following query: `SELECT (SUM(col1) OVER(unspecified_window) / 1) FROM VALUES (1)`. Currently the resolution produces `org.apache.spark.sql.catalyst.analysis.UnresolvedException: [INTERNAL_ERROR] Invalid call to dataType on unresolved object SQLSTATE: XX000`, which is confusing. We need to change it to `ExtendedAnalysisException: [MISSING_WINDOW_SPECIFICATION]`
Attachments
Issue Links
- links to