Github user viirya commented on the issue:

    https://github.com/apache/spark/pull/19813
  
    I agree that the best is we can have both of them.
    
    I have a proposal to replace statement output in split methods. Maybe you 
can check if it sounds good.
    
    By #20043, we have a `StatementValue` wrapping statement output. Instead of 
immediately embedding the statement in codes, we use a special replacement like 
`%STATEMENT_1%` for it. Normally we replace this with actual statement. If we 
need split methods, we replace this with a generated variable name. As it is 
special replacement, I think it should be safer.
    
    This is the idea to more safely replace statement with generate variable 
name under the string based framework.
    



---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to