cloud-fan commented on a change in pull request #26595: [SPARK-29956][SQL] A 
literal number with an exponent should be parsed to Double
URL: https://github.com/apache/spark/pull/26595#discussion_r347882996
 
 

 ##########
 File path: 
sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4
 ##########
 @@ -23,6 +23,12 @@ grammar SqlBase;
    */
   public boolean legacy_setops_precedence_enbled = false;
 
+  /**
+   * When false, a literal with an exponent would be converted into
+   * double type rather than decimal type.
+   */
+  public boolean legacy_exponent_literal_to_decimal_enabled = false;
 
 Review comment:
   nit: `legacy_exponent_literal_as_decimal_enabled`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to