databrickslabs / remorph

Cross-compiler and Data Reconciler into Databricks Lakehouse
Other
47 stars 30 forks source link

Alternate proposal for origin tracking #1208

Open vil1 opened 1 week ago

vil1 commented 1 week ago

Here's a proposal for tracking origin in IR nodes that:

The proposed solution ensures that nodes return by the visit* methods of AST builders have their origin populated, by introducing a WithKnownOrigin marker trait.

Drawbacks are:

Remaining work:

github-actions[bot] commented 1 week ago

Coverage tests results

448 tests  ±0   414 ✅ ±0   4s ⏱️ ±0s   6 suites ±0    34 💤 ±0    6 files   ±0     0 ❌ ±0 

Results for commit a5e3ce59. ± Comparison against base commit d4ad0cd2.