Skip to content

Commit

Permalink
chore(deps): lock file maintenance (#9257)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Phillip Cloud <[email protected]>
  • Loading branch information
renovate[bot] and cpcloud authored May 27, 2024
1 parent a4918be commit 2742455
Show file tree
Hide file tree
Showing 5 changed files with 802 additions and 780 deletions.
4 changes: 3 additions & 1 deletion ibis/backends/duckdb/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ class DuckDBCompiler(SQLGlotCompiler):
ops.MapLength: "cardinality",
ops.Mode: "mode",
ops.TimeFromHMS: "make_time",
ops.TypeOf: "typeof",
ops.GeoPoint: "st_point",
ops.GeoAsText: "st_astext",
ops.GeoArea: "st_area",
Expand Down Expand Up @@ -495,3 +494,6 @@ def visit_RandomScalar(self, op, **kwargs):

def visit_RandomUUID(self, op, **kwargs):
return self.f.uuid()

def visit_TypeOf(self, op, *, arg):
return self.f.coalesce(self.f.nullif(self.f.typeof(arg), '"NULL"'), "NULL")
2 changes: 2 additions & 0 deletions ibis/backends/polars/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ def join(op, **kw):
if how == "right":
how = "left"
left, right = right, left
elif how == "outer":
how = "full"

joined = left.join(right, on=on, how=how)

Expand Down
4 changes: 4 additions & 0 deletions ibis/backends/tests/test_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@ def test_scalar_param_date(backend, alltypes, value):
"exasol",
]
)
@pytest.mark.broken(
["polars"],
reason="support for this stopped working around 0.20.30; causes a panic on calling vec_hash on list[f64]",
)
def test_scalar_param_nested(con):
param = ibis.param("struct<x: array<struct<y: array<double>>>>")
value = OrderedDict([("x", [OrderedDict([("y", [1.0, 2.0, 3.0])])])])
Expand Down
Loading

0 comments on commit 2742455

Please sign in to comment.