Skip to content

Commit dbde452

Browse files
committed
chore: remove unnecessary argmax/argmin mapping
1 parent 2acaa16 commit dbde452

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

ibis/backends/sql/compilers/pyspark.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ class PySparkCompiler(SQLGlotCompiler):
7171
}
7272

7373
SIMPLE_OPS = {
74-
ops.ArgMax: "max_by",
75-
ops.ArgMin: "min_by",
7674
ops.ArrayDistinct: "array_distinct",
7775
ops.ArrayFlatten: "flatten",
7876
ops.ArrayIntersect: "array_intersect",

ibis/backends/sql/compilers/trino.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,6 @@ class TrinoCompiler(SQLGlotCompiler):
6565

6666
SIMPLE_OPS = {
6767
ops.Arbitrary: "any_value",
68-
ops.ArgMax: "max_by",
69-
ops.ArgMin: "min_by",
7068
ops.Pi: "pi",
7169
ops.E: "e",
7270
ops.RegexReplace: "regexp_replace",

0 commit comments

Comments
 (0)