JsonSource should support path expressions
- 主要语言
- 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