Github user wangyum commented on the issue:

    https://github.com/apache/spark/pull/21010
  
    > Basically LGTM, but I'm wondering what if the expr2 is not like a format 
string?
    
    The same as Hive:
    ```sql
    spark-sql> SELECT format_number(12332.123456, 'abc');
    abc12332
    ```
    ```sql
    hive> SELECT format_number(12332.123456, 'abc');
    OK
    abc12332
    Time taken: 0.218 seconds, Fetched: 1 row(s)
    ```


---

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

Reply via email to