diff options
author | Josh Rosen <joshrosen@databricks.com> | 2016-08-26 00:15:01 +0200 |
---|---|---|
committer | Herman van Hovell <hvanhovell@databricks.com> | 2016-08-26 00:15:01 +0200 |
commit | 3e4c7db4d11c474457e7886a5501108ebab0cf6d (patch) | |
tree | a2fa523867b5b90a47b7a03b6d55da5f9fc1c8dc /sql/core | |
parent | a133057ce5817f834babe9f25023092aec3c321d (diff) | |
download | spark-3e4c7db4d11c474457e7886a5501108ebab0cf6d.tar.gz spark-3e4c7db4d11c474457e7886a5501108ebab0cf6d.tar.bz2 spark-3e4c7db4d11c474457e7886a5501108ebab0cf6d.zip |
[SPARK-17205] Literal.sql should handle Infinity and NaN
This patch updates `Literal.sql` to properly generate SQL for `NaN` and `Infinity` float and double literals: these special values need to be handled differently from regular values, since simply appending a suffix to the value's `toString()` representation will not work for these values.
Author: Josh Rosen <joshrosen@databricks.com>
Closes #14777 from JoshRosen/SPARK-17205.
Diffstat (limited to 'sql/core')
0 files changed, 0 insertions, 0 deletions