Skip to content
Snippets Groups Projects
  • Liang-Chi Hsieh's avatar
    c24b6b67
    [SPARK-11753][SQL][TEST-HADOOP2.2] Make allowNonNumericNumbers option work · c24b6b67
    Liang-Chi Hsieh authored
    ## What changes were proposed in this pull request?
    
    Jackson suppprts `allowNonNumericNumbers` option to parse non-standard non-numeric numbers such as "NaN", "Infinity", "INF".  Currently used Jackson version (2.5.3) doesn't support it all. This patch upgrades the library and make the two ignored tests in `JsonParsingOptionsSuite` passed.
    
    ## How was this patch tested?
    
    `JsonParsingOptionsSuite`.
    
    Author: Liang-Chi Hsieh <simonh@tw.ibm.com>
    Author: Liang-Chi Hsieh <viirya@appier.com>
    
    Closes #9759 from viirya/fix-json-nonnumric.
    c24b6b67
    History
    [SPARK-11753][SQL][TEST-HADOOP2.2] Make allowNonNumericNumbers option work
    Liang-Chi Hsieh authored
    ## What changes were proposed in this pull request?
    
    Jackson suppprts `allowNonNumericNumbers` option to parse non-standard non-numeric numbers such as "NaN", "Infinity", "INF".  Currently used Jackson version (2.5.3) doesn't support it all. This patch upgrades the library and make the two ignored tests in `JsonParsingOptionsSuite` passed.
    
    ## How was this patch tested?
    
    `JsonParsingOptionsSuite`.
    
    Author: Liang-Chi Hsieh <simonh@tw.ibm.com>
    Author: Liang-Chi Hsieh <viirya@appier.com>
    
    Closes #9759 from viirya/fix-json-nonnumric.