apache / datafusion-sqlparser-rs

Extensible SQL Lexer and Parser for Rust
Apache License 2.0
2.74k stars 518 forks source link

Support REPLACE in SELECT #792

Open ankrgyl opened 1 year ago

ankrgyl commented 1 year ago

Another one from DuckDB's friendlier syntax: https://duckdb.org/2022/05/04/friendlier-sql.html:

SELECT 
    * REPLACE (movie_count+3 as movie_count, show_count*1000 as show_count)
FROM star_wars_owned_by_disney
AugustoFKL commented 1 year ago

@ankrgyl will work on that support this week. Sorry the delay