Question: Support JSON data sources?
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
調査の方向性
まず、提案されている公開 ISqlProvider インターフェイス、FSharp.Data のスキーマ処理、JsonValue.Parse を確認し、その後、関連する Postgres JSON issue #523 を読んでください。有用な成果には、定義された provider の範囲、クエリ構文への統合計画、およびテストが必要ですが、この issue ではそれらの実装上の境界が指定されていません。
索引モデルが issue の本文から書いたものです。
説明
Should we made some of the internal classes/interfaces (like 'ISqlProvider') public so that there could be another project, to reference/combine both FSharp.Data and SQLProvider, to allow query { ... }-syntax to be used with queryable data-sources that return JSON. For example:
- MongoDB
- Elasticsearch
- Redis
- CosmosDB
- Google Cloud Storage
- Amazon RDS/Aurora
FSharp.Data can parse JSON sample data. So each provider could use SQLProvider structure and call FSharp.Data to get the schemas, users could then write strongly typed query { ... } and SQLProvider would translate the query to provider specific query-language (if plain SQL is not supported, which often is). The response is basically SqlEntity of column/s that is actually untyped JSON data. FSharp.Data is having JsonValue.Parse that could be used to parse the responses to some more usable format.
Currently these data-sources do have some specific apis/libraries for F#, but don't support the standard
query { ... }-syntax. On the other hand I don't know would we get enough users that it would be worth of work.
This is kind of related to Postgres JSON features, #523
- 主要言語
- F#
- スター
- 627
- フォーク
- 147
- 平均マージ
- 2時間 2分
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fsprojects/SQLProvider のほかの issue
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
fsprojects/SQLProvider#872 · コメント 2 件 ·
-
Repo Assist? オープンenhancement
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
fsprojects/SQLProvider#870 · コメント 1 件 ·
-
postgresql
難易度 4/5 3〜5日 初心者へのやさしさ 58/100
fsprojects/SQLProvider#869 · コメント 2 件 ·
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 42/100
fsprojects/SQLProvider#868 · コメント 2 件 ·
-
sql server
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
fsprojects/SQLProvider#851 · コメント 1 件 ·
fsprojects/SQLProvider の issue をすべて見る
似ている issue
-
channels:add check:passed
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
confluentinc/dbt-confluent#160 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
AstrBotDevs/AstrBot#10205 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100