Skip to content
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

PartiQL types rename #469

Merged
merged 13 commits into from
Jun 24, 2024
Merged

PartiQL types rename #469

merged 13 commits into from
Jun 24, 2024

Conversation

am357
Copy link
Contributor

@am357 am357 commented Jun 24, 2024

Description of changes:

Renames StaticTypeVariant to Static to make it shorter and the usage easier—it is behavioral preserving.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

am357 added 12 commits June 17, 2024 18:31
Refactors `partiql-types` by adding `PartiqlShape`; with this model, `PartiqlShape`
is one of `Dynamic` (ex. `Any`), `AnyOf`, `Static`, or `Undefined`. `nullability` is
 defined as part of `StaticType`.

The large diff is as a result of the `PartiqlType` refactoring.
@am357 am357 requested a review from jpschorr June 24, 2024 19:11
Base automatically changed from feat-types-ddl to main June 24, 2024 19:13
Copy link

codecov bot commented Jun 24, 2024

Codecov Report

Attention: Patch coverage is 64.38356% with 26 lines in your changes missing coverage. Please review.

Project coverage is 80.50%. Comparing base (0ff57fe) to head (220df47).

Files Patch % Lines
extension/partiql-extension-ddl/src/ddl.rs 47.36% 8 Missing and 2 partials ⚠️
partiql-logical-planner/src/typer.rs 20.00% 8 Missing ⚠️
partiql-types/src/lib.rs 66.66% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #469      +/-   ##
==========================================
- Coverage   80.50%   80.50%   -0.01%     
==========================================
  Files          66       66              
  Lines       17508    17503       -5     
  Branches    17508    17503       -5     
==========================================
- Hits        14095    14090       -5     
  Misses       2977     2977              
  Partials      436      436              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Jun 24, 2024

Conformance comparison report

Base (0ff57fe) 960bbf0 +/-
% Passing 90.35% 90.35% 0.00%
✅ Passing 5731 5731 0
❌ Failing 612 612 0
🔶 Ignored 0 0 0
Total Tests 6343 6343 0

Number passing in both: 5731

Number failing in both: 612

Number passing in Base (0ff57fe) but now fail: 0

Number failing in Base (0ff57fe) but now pass: 0

@am357 am357 changed the title Partiql types rename PartiQL types rename Jun 24, 2024
@am357 am357 merged commit 6aacf26 into main Jun 24, 2024
18 of 19 checks passed
@am357 am357 deleted the partiql-types-rename branch June 24, 2024 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants