dtenedor commented on code in PR #36365:
URL: https://github.com/apache/spark/pull/36365#discussion_r861164996
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/ToNumberParser.scala:
##########
@@ -165,6 +166,10 @@ class ToNumberParser(numberFormat: String, errorOnFail:
Boolean) extends Seriali
tokens.prepend(OpeningAngleBracket())
tokens.append(ClosingAngleBracket())
i += 2
+ case SPACE =>
Review Comment:
Yeah, I added this small change because the Spark `.sql` tests specify this,
and it is compatible with Postgres. I asked Serge about this to see if he has
opinions.
<img width="1530" alt="image"
src="https://user-images.githubusercontent.com/99207096/165815005-431ed4c6-cb4b-4813-bd84-91d690c0a2d2.png">
--
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]