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 31c9131 commit d2c5c9cCopy full SHA for d2c5c9c
python/xorq/backends/let/datafusion/udfs.py
@@ -135,7 +135,7 @@ def regex_split(s: str, pattern: str) -> list[str]:
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()
137
138
- if len(_rest) > 0:
+ if _rest > 0:
139
raise com.XorqError(
140
"Only a single scalar pattern is supported for DataFusion strftime"
141
)
0 commit comments