File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
sql/core/src/main/scala/org/apache/spark/sql Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -944,6 +944,14 @@ object functions {
944944 */
945945 def cosh (columnName : String ): Column = cosh(Column (columnName))
946946
947+ /**
948+ * Returns the value of the e.
949+ *
950+ * @group math_funcs
951+ * @since 1.5.0
952+ */
953+ def e (): Column = E ()
954+
947955 /**
948956 * Computes the exponential of the given value.
949957 *
@@ -1105,6 +1113,14 @@ object functions {
11051113 */
11061114 def log1p (columnName : String ): Column = log1p(Column (columnName))
11071115
1116+ /**
1117+ * Returns the value of the pi.
1118+ *
1119+ * @group math_funcs
1120+ * @since 1.5.0
1121+ */
1122+ def pi (): Column = Pi ()
1123+
11081124 /**
11091125 * Returns the value of the first argument raised to the power of the second argument.
11101126 *
You can’t perform that action at this time.
0 commit comments