-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Snowpark backend #1133
Snowpark backend #1133
Commits on Jan 8, 2024
-
Generate a new backend for Snowpark (finos#33)
Generate empty files for ELM modules in the IR
Configuration menu - View commit details
-
Copy full SHA for f886f15 - Browse repository at this point
Copy the full SHA f886f15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b2d4fe - Browse repository at this point
Copy the full SHA 5b2d4feView commit details -
Add initial implementation of a 'mapping' context (finos#38)
* Add initial implementation of a 'mapping' context This context element has information about type definitions. * Code review suggestions
Configuration menu - View commit details
-
Copy full SHA for 6a7243b - Browse repository at this point
Copy the full SHA 6a7243bView commit details -
Support the literals into Snowpark (finos#39)
Add support to the literals using the snowpark function lit for boolean, string, char, float and Int. Add test for lit literals.
Configuration menu - View commit details
-
Copy full SHA for 55598ea - Browse repository at this point
Copy the full SHA 55598eaView commit details -
Adds basic generation of record wrappers (finos#40)
* Adds basic generation of record wrappers * Fix missing `extends` generation
Configuration menu - View commit details
-
Copy full SHA for 58ec90e - Browse repository at this point
Copy the full SHA 58ec90eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7881a59 - Browse repository at this point
Copy the full SHA 7881a59View commit details -
Add conversion for function parameters and return type (finos#42)
Also adds local variables for records representing tables. Related to finos#20
Configuration menu - View commit details
-
Copy full SHA for dda3620 - Browse repository at this point
Copy the full SHA dda3620View commit details -
Support member list function in Snowpark (finos#46)
Support List.member function into Snowpark using the "in" function
Configuration menu - View commit details
-
Copy full SHA for aacb84e - Browse repository at this point
Copy the full SHA aacb84eView commit details -
Add support for Snowpark generation of basic PatternMatch cases (fino…
…s#48) * Add support for Snowpark generation of basic PatternMatch cases The following cases are supported: - Cases with literal values - Cases with constructors of union types without parameters
Configuration menu - View commit details
-
Copy full SHA for 55e13e1 - Browse repository at this point
Copy the full SHA 55e13e1View commit details -
Add support for some list functions (finos#49)
* Add support for some list functions Adds basic support for: - `List.map` with lambda returning record - `List.map` with lambda returning a single value - `List.filter` with lambda predicate - `List.sum` with `List.map` as its collection * Fixes for Code review comments
Configuration menu - View commit details
-
Copy full SHA for b8d8d5d - Browse repository at this point
Copy the full SHA b8d8d5dView commit details -
Support basic arithmetic operators for Snowpark (finos#56)
Generate a basic support for the add, subtract, multiply and divide operators in Snowpark
Configuration menu - View commit details
-
Copy full SHA for ef3d8b6 - Browse repository at this point
Copy the full SHA ef3d8b6View commit details -
Support the comparison operators for Snowpark (finos#59)
Support the comparison operators for snowpark ===, =!=, <, >, <=, >=
Configuration menu - View commit details
-
Copy full SHA for cbfd482 - Browse repository at this point
Copy the full SHA cbfd482View commit details -
Add support for a couple of elements (finos#60)
* Add support for a couple of elements - Adds basic support for case/of with Union types with params ``` case x of First a b c -> a Second y -> y ``` - Adds support for Maybe case/of patterns ``` case x of Just w -> w Nothing -> 19 ``` - Adds basic support for conversion of `Maybe.Just` and `Maybe.Nothing` - Adds a new Scala literal for `null` * Code review changes
Configuration menu - View commit details
-
Copy full SHA for 95e6763 - Browse repository at this point
Copy the full SHA 95e6763View commit details -
Support basic logical operators (finos#68)
Add support for the and (&&) or (||) and not (!) operators in snowpark.
Configuration menu - View commit details
-
Copy full SHA for 77105f2 - Browse repository at this point
Copy the full SHA 77105f2View commit details -
Add Support for floor and module functions (finos#72)
Add support for the floor and module functions in Snowpark
Configuration menu - View commit details
-
Copy full SHA for e76bf3b - Browse repository at this point
Copy the full SHA e76bf3bView commit details -
Add support
let
andMaybe
functions (finos#69)* Add support `let` and `Maybe` functions Adds support for: - Basic `let` without function definitions - `Maybe.map` - `Maybe.withDefault` * Fix Nothing comparisons Also fixes tagging of fields with aliases.
Configuration menu - View commit details
-
Copy full SHA for 3206866 - Browse repository at this point
Copy the full SHA 3206866View commit details -
Add support to access field of a record (finos#74)
Add support to access field of a record in the way .field
Configuration menu - View commit details
-
Copy full SHA for 31140fd - Browse repository at this point
Copy the full SHA 31140fdView commit details -
Misc fixes for compiling LCR assets reduced (finos#76)
- Fix creation of union type instance with parameters - Fix generation of parameter names with Scala reserved words - Fix calls to use curry-like syntax in scala
Configuration menu - View commit details
-
Copy full SHA for 3d62b91 - Browse repository at this point
Copy the full SHA 3d62b91View commit details -
Add generation of wrappers for keeping record references (finos#82)
* Add generation of wrappers for keeping record references Now we don't remove parameters representing records from functions . This fixes problems where the a column may be lead to ambiguities. * Code review suggestions
Configuration menu - View commit details
-
Copy full SHA for 010a323 - Browse repository at this point
Copy the full SHA 010a323View commit details -
Small changes LCR's Unsecured (finos#83)
Changes to allow the conversion of must of the subset for Unsecured.elm. Adds basic unpacking of JSON results. Fixes finos#75
Configuration menu - View commit details
-
Copy full SHA for a2abc15 - Browse repository at this point
Copy the full SHA a2abc15View commit details -
Add tuple creation and matching (finos#84)
Adds support for converting tuple creation: let t = (1,2,3) And matching: case t of (a,b,c) -> c
Configuration menu - View commit details
-
Copy full SHA for c732ffd - Browse repository at this point
Copy the full SHA c732ffdView commit details -
Add Support for Morphir SDK Aggregate and some arithmetic functions (f…
…inos#88) * Add support for the groupBy and aggregate from Morphir.SDK Add support to the pattern of groupBy and Aggregate from the Moprhir.SDK in Snowpark * Support multiple variables in the lambda's call for the SDK Aggregate function Support multiple variable in the lambda's call for the SDK aggregate function * Support the alias function from the column in order to generate a custom column name * Refactoring Aggregate mapping * Fix alias generation and refactoring constants and map functions file
Configuration menu - View commit details
-
Copy full SHA for 826edf1 - Browse repository at this point
Copy the full SHA 826edf1View commit details -
Fix in the aggregate function with alias (finos#90)
Fix alias name when is added in the aggregate function for the column
Configuration menu - View commit details
-
Copy full SHA for 03efda3 - Browse repository at this point
Copy the full SHA 03efda3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74f5ae5 - Browse repository at this point
Copy the full SHA 74f5ae5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74c71e2 - Browse repository at this point
Copy the full SHA 74c71e2View commit details -
Fix lambda functions passed as arguments (finos#92)
Fix passing lambda functions as arguments.
Configuration menu - View commit details
-
Copy full SHA for 0d2e165 - Browse repository at this point
Copy the full SHA 0d2e165View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84c5294 - Browse repository at this point
Copy the full SHA 84c5294View commit details -
Changes to improve compilation for
Calculations.elm
(finos#96)* Changes to improve compilation for `Calculations.elm` Adds support for: - Different set of function mappings when converting a function identified as Scala-only - Convert empty DataFrame (still pending issue with session object) - Adds several simple mappings for `Calculations.elm`: `List.maximum` , `max`, `min` * Code review fixes and fix List.sum with null values
Configuration menu - View commit details
-
Copy full SHA for 7bcce74 - Browse repository at this point
Copy the full SHA 7bcce74View commit details -
Support Aggregate function that returns a Record (finos#98)
* Add support for the Aggregate when returns a record Support the return type as a record in the Aggregate function. * Support records and handle error asign in the record field
Configuration menu - View commit details
-
Copy full SHA for 00d7444 - Browse repository at this point
Copy the full SHA 00d7444View commit details -
Add decorations processing (finos#99)
* First commit for decorations * Add support for `inlining`
Configuration menu - View commit details
-
Copy full SHA for 25f87a3 - Browse repository at this point
Copy the full SHA 25f87a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e709dd - Browse repository at this point
Copy the full SHA 8e709ddView commit details -
Basic implementation for the innerjoin function (finos#101)
First support for the join feature in elm. Mapping the innerJoin function from Elm
Configuration menu - View commit details
-
Copy full SHA for 0c74626 - Browse repository at this point
Copy the full SHA 0c74626View commit details -
Add issue generation report (finos#102)
* Add issue generation report - Generates `GenerationReport.elm` - Adds propagation of issue list - Changes uses of `Value` for `TypedValue` * Code review suggestions
Configuration menu - View commit details
-
Copy full SHA for 0705aee - Browse repository at this point
Copy the full SHA 0705aeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7bb967 - Browse repository at this point
Copy the full SHA b7bb967View commit details -
Sf/basicdocumentation (finos#106)
* In-progress documentation and fixes/coverage * Add minor updates * Add missing elements * Add latest changes * Split initial documents * Code review comments
Configuration menu - View commit details
-
Copy full SHA for 6db15bf - Browse repository at this point
Copy the full SHA 6db15bfView commit details -
Add unit test coverage and some bug fixes (finos#107)
- Fixes some pattern matching scenarios - Adds pattern matching test - Adds function mapping tests - Adds support for some function scenarios
Configuration menu - View commit details
-
Copy full SHA for 7093d1f - Browse repository at this point
Copy the full SHA 7093d1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f98f826 - Browse repository at this point
Copy the full SHA f98f826View commit details -
Add Snowpark backend support to CLI2 (#1)
Adds command line options for the `Snowpark` backend to the CLI2 project.
Configuration menu - View commit details
-
Copy full SHA for 4d02e60 - Browse repository at this point
Copy the full SHA 4d02e60View commit details -
- Add support to the multiple Join. (#2)
- Add Test for the join feature.
Configuration menu - View commit details
-
Copy full SHA for 40eec96 - Browse repository at this point
Copy the full SHA 40eec96View commit details -
* Adding and fixing documentation for Snowpark backend
Configuration menu - View commit details
-
Copy full SHA for 3b02ca5 - Browse repository at this point
Copy the full SHA 3b02ca5View commit details -
Fix boolean expression generation in pattern matching code
- Remove unused code - Fix Boolean expression generation in pattern matching code
Configuration menu - View commit details
-
Copy full SHA for 1c9f205 - Browse repository at this point
Copy the full SHA 1c9f205View commit details -
Add documentation for the join feature (#5)
* Add documentation for the join feature * Fixing documentation
Configuration menu - View commit details
-
Copy full SHA for 77afb1a - Browse repository at this point
Copy the full SHA 77afb1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 921b43c - Browse repository at this point
Copy the full SHA 921b43cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8a701f - Browse repository at this point
Copy the full SHA b8a701fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9bb030 - Browse repository at this point
Copy the full SHA e9bb030View commit details -
Configuration menu - View commit details
-
Copy full SHA for 054fd06 - Browse repository at this point
Copy the full SHA 054fd06View commit details -
Fix a couple of problems (#10)
Fixes: - `List.filter` with a local function reference - Binary operation generated as part of a projection
Configuration menu - View commit details
-
Copy full SHA for 8c61b78 - Browse repository at this point
Copy the full SHA 8c61b78View commit details -
* Code review suggestion Changes string literal to "throwing an exception" when processing a not supported element. * Code review suggestion Add support for aggregate errors
Configuration menu - View commit details
-
Copy full SHA for 4689058 - Browse repository at this point
Copy the full SHA 4689058View commit details