Github user rxin commented on the issue:

    https://github.com/apache/spark/pull/21309
  
    Adding it to sql would allow it to be available everywhere (through expr)
    right?
    
    On Fri, May 11, 2018 at 7:30 PM Hyukjin Kwon <notificati...@github.com>
    wrote:
    
    > Thing is, I am a bit confused when to add it to other APIs. I thought if
    > it's expected to be less commonly used, it shouldn't be added at the first
    > place. We have UDFs.
    >
    > I have been a bit confused of some functions specifically not added into
    > other APIs. If that's worth being added in an API, I thought it makes 
sense
    > to add it to other APIs too. Is there a reason to add them to SQL side
    > specifically?
    >
    > —
    > You are receiving this because you were mentioned.
    > Reply to this email directly, view it on GitHub
    > <https://github.com/apache/spark/pull/21309#issuecomment-388523839>, or 
mute
    > the thread
    > 
<https://github.com/notifications/unsubscribe-auth/AATvPJx8IcRSIpAHmk2APbxDMm4wf4E8ks5txkkngaJpZM4T8LX4>
    > .
    >



---

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

Reply via email to