ganeshashree commented on PR #59828:
URL: https://github.com/apache/spark/pull/59828#issuecomment-6703594784

   Thanks, agreed. A clause-free `json_array`, `json_object` or `json_query` 
written as another constructor's value now resolves like any other call. So 
with a same-named function first in the PATH, both levels of 
`json_array(json_array(1))` use it, just like `f(f(1))`. The `length(a)` test 
now returns 1 for both the nested and flat calls.
   
   If the built-in owns the inner call, its result is still spliced. If a 
function owns it, the result is quoted like any other string. The docs no 
longer mention the exception.
   
   I also rebased onto the latest master.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to