51zero / 51zero/eel-sdk

JsonSource should support path expressions

オープン
#240 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Scala
スター
147
フォーク
32
PR マージ指標
30日以内にマージされた PR はありません

説明

# JsonSource should support path expressions

# Scenario

- If I have defined a structure like the following:
```sql
struct Person {
name:String,
age: Int,
sex: String
}
```
- I should be able to specify a projection like so:
```scala
withProjection("person.name", "person.age")
```

- The above returns scalar values for name and age.
- Likewise I think it should work for **withPredicate**
- Jackson has has processor for drilling into nested types using path expressions which are similar to XPath
- You could put forward a case that this syntax should be the language for other formats that support nested types, Avro, Parquet and Orc

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Look at the JsonSource class and its withProjection and withPredicate methods. Understand how Jackson's path expression processor works for nested types. Check similar handling in Avro, Parquet, and Orc formats within the SDK. The goal is to extend support for path expressions like 'person.name' to return scalar values from nested structures.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, scala
領域
data-engineering, tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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