pola-rs/polars-cli

Window functions does not get colorized

shaharluftig opened this issue · 0 comments

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of the Polars CLI.

Reproducible example

polars -c "select sum(col) over(partition by col1) from read_csv('/file')"

Issue description

Issue

The window function in the library is not being colorized as expected, leading to a lack of visual distinction and potential readability issues for users.

Steps to Reproduce

Open polars-cli tool.
Write a SQL query containing window functions.
Observe that the window functions are not colorized as expected.

Expected behavior

Window functions should be appropriately colorized within the library to enhance code readability and provide a better user experience.

Installed version

0.3.0