Github user dmateusp commented on the issue:

    https://github.com/apache/spark/pull/21706
  
    Realized I need to add `calendarinterval` as a function as well to 
reproduce the behavior of `int`, `date`, `string` etc..
    
    example:
    ```scala
    scala> spark.sql("select string(10)").show()
    +------------------+
    |CAST(10 AS STRING)|
    +------------------+
    |                10|
    +------------------+
    ```


---

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

Reply via email to