Daniel created SPARK-48607:
------------------------------

             Summary: Support more types of expressions in VALUES lists
                 Key: SPARK-48607
                 URL: https://issues.apache.org/jira/browse/SPARK-48607
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 4.0.0
            Reporter: Daniel


Currently we return the 
`INVALID_INLINE_TABLE.CANNOT_EVALUATE_EXPRESSION_IN_INLINE_TABLE` error class   
[1] if SQL VALUES lists contain non-literal expressions such as CURRENT_DATE(). 
In this Jira we propose to relax that restriction to allow more types of 
expressions.

[1] 
https://github.com/apache/spark/blob/b5e1b7988031044d3cbdb277668b775c08db1a74/common/utils/src/main/resources/error/error-conditions.json#L2247



--
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