apache / apache/datafusion-sqlparser-rs
help wanted: extend cli example for batch processing
- Ngôn ngữ chính
- Rust
- Star
- 3.5k
- Fork
- 772
- Merge trung bình
- 4 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 17
Mô tả
it looks like the sqlparser-rs can do what I need
- code of views is stored in mssqlserver
- json parser result should be stored into mssqlserver
- I wan't to be able to do this outside the rust environment, some compilation into a windows program is required to use this program also without installing rust on other machines
if it is to complicated to read the sql source from mssqlserver and to store the json result into mssqlserver it would be also possible:
- I can export from mssqlserver into sql text files
- sql files could be used as input for the cli
- json output should be stored into text files with the same BaseFileName (abc.sql => abc.json), but maybe into another folder
- I can import these json files into mssqlserver
Maybe the example cli.rs could be extended to export the json into a file?
And maybe it could also be extended to parse a directory containing sql-files, and to use an optional parameter for the folder for generated json files?
I never before used Rust. I could try to learn the basics of rust to implement this. But maybe it is much more easy to do for developers experienced in rust then for me, which I am a database specialist, but not a rust developer?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Bắt đầu bằng cách đọc tệp ví dụ cli.rs và làm rõ phạm vi là xử lý hàng loạt dựa trên tệp hay tích hợp MSSQL. Xác định hành vi đầu vào và đầu ra, bao gồm cách xử lý thư mục và việc khớp các tên cơ sở .sql/.json, sau đó xác minh rằng quy trình làm việc đã chọn có thể chạy dưới dạng chương trình Windows mà không cần cài đặt Rust.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- rust, sql
- Lĩnh vực
- cli, databases
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100