Dragonliu2018 opened a new pull request, #35760:
URL: https://github.com/apache/doris/pull/35760

   ## Proposed changes
   
   Issue Number: close #35758 
   
   <!--Describe your changes.-->
   when types other than DATE and DATEV2 use current_date as the default value 
during creating a table, throw an AnalysisException similar to the following:
   ```sql
   ERROR 1105 (HY000): errCode = 2, detailMessage = errCode = 2, detailMessage 
= Types other than DATE and DATEV2 cannot use current_date as the default value
   ```
   but not this AnalysisException:
   ```sql
   ERROR 1105 (HY000): errCode = 2, detailMessage = errCode = 2, detailMessage 
= Invalid floating-point literal: CURRENT_DATE
   
   ``` 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to