Skip to content

SPLIT hangs on empty delimiter. #116

@python-processing-unit

Description

@python-processing-unit

According to the specification section 9.1.5:

  • TNS: SPLIT(STR: value, STR: delimiter = " ") = MUST split value on the exact substring delimiter and return the parts as a one-dimensional tensor of STR. delimiter MUST be non-empty. Consecutive delimiters and trailing delimiters MUST produce empty-string elements.

In the implementation, however, when an empty STR is passed to SPLIT as delimiter, the interpreter hangs, rather than erroring.

Metadata

Metadata

Labels

bugSomething isn't workingpatchRequires a patch version change.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions