pola-rs / polars-cli

CLI interface for running SQL queries with Polars as backend
https://pola.rs/
MIT License
159 stars 12 forks source link

Window functions does not get colorized #54

Open shaharluftig opened 10 months ago

shaharluftig commented 10 months ago

Checks

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