apache / apache/datafusion-sqlparser-rs
help wanted: extend cli example for batch processing
- 主要語言
- Rust
- 星號
- 3.5k
- 分支
- 772
- 平均合併
- 4 天 9 小時
- 30 天內合併 PR
- 17
描述
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?
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
先閱讀範例 cli.rs,並釐清範圍是以檔案為基礎的批次處理還是 MSSQL 整合。定義輸入與輸出的行為,包括目錄處理以及相符的 .sql/.json 基本名稱,然後確認所選的工作流程是否能在未安裝 Rust 的情況下作為 Windows 程式執行。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- rust, sql
- 領域
- cli, databases
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100