1515// under the License.
1616
1717//! [`Max`] and [`MaxAccumulator`] accumulator for the `max` function
18- //! [`Min`] and [`MinAccumulator`] accumulator for the `max` function
19-
20- // distributed with this work for additional information
21- // regarding copyright ownership. The ASF licenses this file
22- // to you under the Apache License, Version 2.0 (the
23- // "License"); you may not use this file except in compliance
24- // with the License. You may obtain a copy of the License at
25- //
26- // http://www.apache.org/licenses/LICENSE-2.0
27- //
28- // Unless required by applicable law or agreed to in writing,
29- // software distributed under the License is distributed on an
30- // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
31- // KIND, either express or implied. See the License for the
32- // specific language governing permissions and limitations
33- // under the License.
18+ //! [`Min`] and [`MinAccumulator`] accumulator for the `min` function
3419
3520use arrow:: array:: {
3621 ArrayRef , BinaryArray , BinaryViewArray , BooleanArray , Date32Array , Date64Array ,
@@ -92,7 +77,7 @@ pub struct Max {
9277impl Max {
9378 pub fn new ( ) -> Self {
9479 Self {
95- aliases : vec ! [ "max " . to_owned( ) ] ,
80+ aliases : vec ! [ "MAX " . to_owned( ) ] ,
9681 signature : Signature :: user_defined ( Volatility :: Immutable ) ,
9782 }
9883 }
@@ -146,7 +131,7 @@ impl AggregateUDFImpl for Max {
146131 }
147132
148133 fn name ( & self ) -> & str {
149- "MAX "
134+ "max "
150135 }
151136
152137 fn signature ( & self ) -> & Signature {
@@ -898,7 +883,7 @@ impl Min {
898883 pub fn new ( ) -> Self {
899884 Self {
900885 signature : Signature :: user_defined ( Volatility :: Immutable ) ,
901- aliases : vec ! [ "min " . to_owned( ) ] ,
886+ aliases : vec ! [ "MIN " . to_owned( ) ] ,
902887 }
903888 }
904889}
@@ -915,7 +900,7 @@ impl AggregateUDFImpl for Min {
915900 }
916901
917902 fn name ( & self ) -> & str {
918- "MIN "
903+ "min "
919904 }
920905
921906 fn signature ( & self ) -> & Signature {
0 commit comments