runreveal / pql

Pipelined Query Language
https://pql.dev
Apache License 2.0
647 stars 25 forks source link

Support for cast #56

Open tontinton opened 2 weeks ago

tontinton commented 2 weeks ago

Doing a project statement to a string that contains an integer should be possible by running something akin to:

source | project num_field = cast(str_field, int) * 10
abraithwaite commented 2 weeks ago

Which database are you using underneath the PQL query? ClickHouse or something else?