Giter Site home page Giter Site logo

hardikmaheshwari / legend-engine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from finos/legend-engine

0.0 0.0 1.0 50.84 MB

Legend Engine module

Home Page: https://legend.finos.org

License: Apache License 2.0

Java 97.27% ANTLR 2.67% HTML 0.04% CSS 0.01% Dockerfile 0.01% Shell 0.01%

legend-engine's Issues

RFC: Integrate binding with platform

Overview

A Binding is a concept used to define support in the platform for data in some format. Data is either described using a formal schema or understood through conventions.

Internal to the platform we have the data model to describe the data structurally and instances of it to represent data values. Their external equivalents are the schema (for example a JSON Schema) and the serialized form of the data (for example a JSON document). Models can be generated from schemas and vice versa.

As a part of the development for this RFC, we plan to integrate / refactor bindings into the legend platform so that users can integrate use-cases depending on schemas / data defined in some format

Implementation plan

We plan to tackle the development of binding integration in the following phases.
The ideology behind the implementation plan is to take a depth approach and get simple use-cases working first and then add features to bring feature parity compared to existing support for Flatdata/ Json/ Xsd.

These tasks would be expanded into individual issues containing concrete details.

Phase I: Simple use-cases supported end-to-end with binding

  • Finalize & document query semantics and the role of bindings within it
  • Fix Binding metamodel and detach it from store hierarchy
  • Remove External Format Connection
  • Uplift Routing phase to work with both binding & store
  • Add support for ->internalize function to work with static string, URL and byte-stream
  • Add support for ->externalize function to work with simple use-cases (checked queries are out of scope for this phase)
  • Uplift services to work with the binding flow (in absence of mapping/runtime & with byte-stream as a query parameter)
  • Consolidate execution plan / nodes for binding flow (includes serialization / deserialization)
  • Define testing strategy for bindings
  • Studio supports binding queries seamlessly (Support should be at par with queries backed by stores)
  • Services with binding queries can be executed via jars.

Phase II: Feature parity compared to existing support for FlatData / Json / Xsd

  • Support checked result with externalize
  • Uplift binding / externalize function to account for custom configurations

Phase III: Delete code for legacy FlatData / Json / Xsd

  • Deprecate legacy code & migrate existing use cases to strategic flow
  • Safely delete legacy code

Additional context

  1. Binding: https://github.com/finos/legend-engine/blob/master/docs/bindings/bindings.md
  2. Query Semantics: https://github.com/finos/legend-engine/blob/master/docs/queries/queries.md

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.