Skip to content
Snippets Groups Projects
  • Reynold Xin's avatar
    6ae9fc00
    [SPARK-15126][SQL] RuntimeConfig.set should return Unit · 6ae9fc00
    Reynold Xin authored
    ## What changes were proposed in this pull request?
    Currently we return RuntimeConfig itself to facilitate chaining. However, it makes the output in interactive environments (e.g. notebooks, scala repl) weird because it'd show the response of calling set as a RuntimeConfig itself.
    
    ## How was this patch tested?
    Updated unit tests.
    
    Author: Reynold Xin <rxin@databricks.com>
    
    Closes #12902 from rxin/SPARK-15126.
    6ae9fc00
    History
    [SPARK-15126][SQL] RuntimeConfig.set should return Unit
    Reynold Xin authored
    ## What changes were proposed in this pull request?
    Currently we return RuntimeConfig itself to facilitate chaining. However, it makes the output in interactive environments (e.g. notebooks, scala repl) weird because it'd show the response of calling set as a RuntimeConfig itself.
    
    ## How was this patch tested?
    Updated unit tests.
    
    Author: Reynold Xin <rxin@databricks.com>
    
    Closes #12902 from rxin/SPARK-15126.