Commits


Jorge C. Leitao authored and Krisztián Szűcs committed d16793b664f
ARROW-7903: [Rust] [DataFusion] Migrated to sqlparser 0.6.1 AFAIK this keeps all functionality that we have available and open the doors to all the goodies of the newer version. There are too many to enumerate here, but the most predominant for me are multi statements and sub-queries. As a side note, sqlparser is very well designed and easy-to-use, and I am convinced that we should continue to take this dependency. We currently need some custom parsing and it was very easy to understand what I needed to do based on the documentation and their code. I am not sure this PR keeps the same SQL notation for registering CSV tables: this PR offloads the parsing of the optional schema to sqlparser, and thus if we were accepting non-compliant SQL, then we no longer accept it. I think that the parser would benefit from tests in this area. Closes #7833 from jorgecarleitao/sql Authored-by: Jorge C. Leitao <jorgecarleitao@gmail.com> Signed-off-by: Krisztián Szűcs <szucs.krisztian@gmail.com>