Skip to content

Add a REVERSE function to PyDough #266

@vineetg3

Description

@vineetg3

Goal: Add a REVERSE function to PyDough with the following functionality, which should be tested e2e (see test_pipeline.py for examples):

This should work with attributes of collections which are strings.

# Examples for Strings
REVERSE('hello')  # Output: 'olleh'
REVERSE('12345')  # Output: '54321'

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationeffort - highmajor issue that will require multiple steps or complex designenhancementNew feature or requestuser featureAdding a new user-facing feature/functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions