Skip to content
Snippets Groups Projects
  • Daniel Darabos's avatar
    df763495
    [SPARK-8902] Correctly print hostname in error · df763495
    Daniel Darabos authored
    
    With "+" the strings are separate expressions, and format() is called on the last string before concatenation. (So substitution does not happen.) Without "+" the string literals are merged first by the parser, so format() is called on the complete string.
    
    Should I make a JIRA for this?
    
    Author: Daniel Darabos <darabos.daniel@gmail.com>
    
    Closes #7288 from darabos/patch-2 and squashes the following commits:
    
    be0d3b7 [Daniel Darabos] Correctly print hostname in error
    
    (cherry picked from commit 5687f765)
    Signed-off-by: default avatarKousuke Saruta <sarutak@oss.nttdata.co.jp>
    df763495
    History
    [SPARK-8902] Correctly print hostname in error
    Daniel Darabos authored
    
    With "+" the strings are separate expressions, and format() is called on the last string before concatenation. (So substitution does not happen.) Without "+" the string literals are merged first by the parser, so format() is called on the complete string.
    
    Should I make a JIRA for this?
    
    Author: Daniel Darabos <darabos.daniel@gmail.com>
    
    Closes #7288 from darabos/patch-2 and squashes the following commits:
    
    be0d3b7 [Daniel Darabos] Correctly print hostname in error
    
    (cherry picked from commit 5687f765)
    Signed-off-by: default avatarKousuke Saruta <sarutak@oss.nttdata.co.jp>