apache / apache/datafusion-sqlparser-rs

help wanted: extend cli example for batch processing

オープン
#271 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
Rust
スター
3.5k
フォーク
772
平均マージ
4日 9時間
マージ済み PR(30日)
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
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。