We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5c8f52 commit 1a9a5a8Copy full SHA for 1a9a5a8
bigframes/core/rewrite/slices.py
@@ -76,17 +76,6 @@ def rewrite_slice(node: nodes.BigFrameNode):
76
return node
77
78
slice_def = (node.start, node.stop, node.step)
79
-
80
- # Handle empty slice cases exlicitly (e.g. [0:0])
81
- if (
82
- node.start is not None
83
- and node.stop is not None
84
- and node.start >= node.stop
85
- and (node.step is None or node.step > 0)
86
- ):
87
- # Return empty result by filtering with impossible condition
88
- return slice_as_filter(node.child, node.start, node.start, node.step or 1)
89
90
# no-op (eg. df[::1])
91
if slices.is_noop(slice_def, node.child.row_count):
92
return node.child
0 commit comments