8000 bug(expr): `lpad` never returns · Issue #8949 · risingwavelabs/risingwave · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
bug(expr): lpad never returns #8949
Closed
@xiangjinwu

Description

@xiangjinwu

Describe the bug

No response

To Reproduce

SELECT lpad('hi', 5, '');

Expected behavior

In PostgreSQL:

test=# SELECT lpad('hi', 5, '');
 lpad 
------
 hi
(1 row)

test=# SELECT length(lpad('hi', 5, ''));
 length 
--------
      2
(1 row)

Additional context

found by regress test

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugType: Bug. Only for issues.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0