Skip to content

Commit

Permalink
feat(snowflake): implement rowid scalar
Browse files Browse the repository at this point in the history
  • Loading branch information
mik-laj authored and cpcloud committed Nov 11, 2022
1 parent 068fc50 commit 7e1425a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ibis/backends/snowflake/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,7 @@ def _random(t, op):
ops.RandomScalar: _random,
# time and dates
ops.TimeFromHMS: fixed_arity(sa.func.time_from_parts, 3),
# columns
ops.RowID: (lambda *_: sa.func.seq8() + 1),
}
)
2 changes: 0 additions & 2 deletions ibis/backends/tests/test_column.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"pandas",
"postgres",
"pyspark",
"snowflake",
"polars",
]
)
Expand All @@ -43,7 +42,6 @@ def test_rowid(con):
"pandas",
"postgres",
"pyspark",
"snowflake",
"polars",
]
)
Expand Down

0 comments on commit 7e1425a

Please sign in to comment.