-
Notifications
You must be signed in to change notification settings - Fork 63
Updates partiql-eval public API and internal classes #1287
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
Conversation
Conformance comparison report
Number passing in both: 5372 Number failing in both: 434 Number passing in Base (941a760) but now fail: 0 Number failing in Base (941a760) but now pass: 12 The following test(s) were previously failing but now pass. Before merging, confirm they are intended to pass: Click here to see
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## partiql-eval #1287 +/- ##
===============================================
Coverage ? 49.23%
Complexity ? 1045
===============================================
Files ? 166
Lines ? 13392
Branches ? 2500
===============================================
Hits ? 6593
Misses ? 6144
Partials ? 655
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
fix typer path navigation
* fix timestamp type parsing issue
@@ -45,7 +45,7 @@ val elements: List<AnyElement> = loadAllElements("type::{ name: foo }") | |||
val parsedSchemaModel: IonSchemaModel.Model = parseSchema(elements) | |||
``` | |||
|
|||
Alternatively, users can parse `ion-schema-kotlin` [Schema](https://github.com/amzn/ion-schema-kotlin/blob/master/src/com/amazon/ionschema/Schema.kt#L36) | |||
Alternatively, users can parse `ion-schema-kotlin` [Schema](https://github.com/amzn/ion-schema-kotlin/blob/master/src/com/amazon/ionschema/Namespace.kt#L36) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This URL doesn't work. Not blocking though, since the old URL didn't work as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-blocking, this was left behind.
@OptIn(PartiQLValueExperimental::class) | ||
public class MyInt32Plus : PartiQLFunction.Scalar { | ||
|
||
override val signature: FunctionSignature.Scalar = TODO("Not yet implemented") | ||
|
||
override fun invoke(args: Array<PartiQLValue>): PartiQLValue { | ||
val arg0 = args[0].check<Int32Value>().value | ||
val arg1 = args[1].check<Int32Value>().value | ||
if (arg0 == null || arg1 == null) { | ||
return int32Value(null) | ||
} | ||
return int32Value(arg0 + arg1) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left behind.
Adds support for EXCLUDE in the default SqlDialect
- comment out subsumption tests (to be added in #1280)
7c0af6e
to
46b98c0
Compare
--------- Co-authored-by: John Ed Quinn <[email protected]> Co-authored-by: Yingtao Liu <[email protected]> Co-authored-by: yliuuuu <[email protected]> Co-authored-by: John Ed Quinn <[email protected]> Co-authored-by: Alan Cai <[email protected]>
Updates partiql-eval interfaces
License Information
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.