diff --git a/spark-3.4/clickhouse-spark/src/main/scala/xenon/clickhouse/func/clickhouse/Mod.scala b/spark-3.4/clickhouse-spark/src/main/scala/xenon/clickhouse/func/clickhouse/Mod.scala index 3e8c5182..b10f0f7e 100644 --- a/spark-3.4/clickhouse-spark/src/main/scala/xenon/clickhouse/func/clickhouse/Mod.scala +++ b/spark-3.4/clickhouse-spark/src/main/scala/xenon/clickhouse/func/clickhouse/Mod.scala @@ -26,6 +26,8 @@ object Mod extends UnboundFunction with ScalarFunction[Long] with ClickhouseEqui override def toString: String = name + // remainder is not a Clickhouse function, but modulo will be parsed to remainder in the connector. + // Added remainder as a synonym. override val ckFuncNames: Array[String] = Array("modulo", "remainder") override def description: String = s"$name: (a: long, b: long) => mod: long"