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 cce7a08 commit 6659431Copy full SHA for 6659431
python/xorq/backends/let/datafusion/udfs.py
@@ -133,9 +133,9 @@ def regex_split(s: str, pattern: str) -> list[str]:
133
134
135
def temporal_strftime(array: dt.Timestamp(scale=9), pattern: dt.string) -> dt.string:
136
- pattern, *_rest = typing.cast(pa.StringArray, pattern).unique().to_pylist()
+ pattern, *rest = typing.cast(pa.StringArray, pattern).unique().to_pylist()
137
138
- if len(_rest) > 0:
+ if rest:
139
raise com.XorqError(
140
"Only a single scalar pattern is supported for DataFusion strftime"
141
)
0 commit comments