Skip to content

Commit 6634bc0

Browse files
authored
Prepare v0.14.4 release; move internal, top-level functions back to original file (#1389)
1 parent b063e52 commit 6634bc0

File tree

5 files changed

+32
-12
lines changed

5 files changed

+32
-12
lines changed

CHANGELOG.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,24 @@ Thank you to all who have contributed!
2727

2828
## [Unreleased]
2929

30+
### Added
31+
32+
### Changed
33+
34+
### Deprecated
35+
36+
### Fixed
37+
38+
### Removed
39+
40+
### Security
41+
42+
### Contributors
43+
Thank you to all who have contributed!
44+
- @<your-username>
45+
46+
## [0.14.4]
47+
3048
### Added
3149
- Added constrained decimal as valid parameter type to functions that take in numeric parameters.
3250
- Added async version of physical plan evaluator `PartiQLCompilerAsync`.
@@ -61,6 +79,7 @@ Thank you to all who have contributed!
6179

6280
### Contributors
6381
Thank you to all who have contributed!
82+
- @yliuuuu
6483
- @alancai98
6584

6685
## [0.14.3] - 2024-02-14
@@ -1020,7 +1039,8 @@ breaking changes if migrating from v0.9.2. The breaking changes accidentally int
10201039
### Added
10211040
Initial alpha release of PartiQL.
10221041

1023-
[Unreleased]: https://github.com/partiql/partiql-lang-kotlin/compare/v0.14.3...HEAD
1042+
[Unreleased]: https://github.com/partiql/partiql-lang-kotlin/compare/v0.14.4...HEAD
1043+
[0.14.4]: https://github.com/partiql/partiql-lang-kotlin/compare/v0.14.3...v0.14.4
10241044
[0.14.3]: https://github.com/partiql/partiql-lang-kotlin/compare/v0.14.2...v0.14.3
10251045
[0.14.2]: https://github.com/partiql/partiql-lang-kotlin/compare/v0.14.1...v0.14.2
10261046
[0.14.1]: https://github.com/partiql/partiql-lang-kotlin/compare/v0.14.0-alpha...v0.14.1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ This project is published to [Maven Central](https://search.maven.org/artifact/o
3131

3232
| Group ID | Artifact ID | Recommended Version |
3333
|---------------|-----------------------|---------------------|
34-
| `org.partiql` | `partiql-lang-kotlin` | `0.14.3` |
34+
| `org.partiql` | `partiql-lang-kotlin` | `0.14.4` |
3535

3636

3737
For Maven builds, add the following to your `pom.xml`:

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
group=org.partiql
2-
version=0.14.4-SNAPSHOT
2+
version=0.14.4
33

44
ossrhUsername=EMPTY
55
ossrhPassword=EMPTY

partiql-lang/src/main/kotlin/org/partiql/lang/eval/physical/PhysicalPlanCompilerAsyncImpl.kt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import org.partiql.errors.Property
3232
import org.partiql.errors.PropertyValueMap
3333
import org.partiql.lang.ast.IsOrderedMeta
3434
import org.partiql.lang.ast.SourceLocationMeta
35-
import org.partiql.lang.ast.UNKNOWN_SOURCE_LOCATION
3635
import org.partiql.lang.ast.sourceLocation
3736
import org.partiql.lang.domains.PartiqlPhysical
3837
import org.partiql.lang.domains.staticType
@@ -1874,14 +1873,6 @@ internal class PhysicalPlanCompilerAsyncImpl(
18741873
)
18751874
}
18761875

1877-
internal val MetaContainer.sourceLocationMeta get() = this[SourceLocationMeta.TAG] as? SourceLocationMeta
1878-
internal val MetaContainer.sourceLocationMetaOrUnknown get() = this.sourceLocationMeta ?: UNKNOWN_SOURCE_LOCATION
1879-
1880-
internal fun StaticType.getTypes() = when (val flattened = this.flatten()) {
1881-
is AnyOfType -> flattened.types
1882-
else -> listOf(this)
1883-
}
1884-
18851876
/**
18861877
* Represents an element in a select list that is to be projected into the final result.
18871878
* i.e. an expression, or a (project_all) node.

partiql-lang/src/main/kotlin/org/partiql/lang/eval/physical/PhysicalPlanCompilerImpl.kt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import org.partiql.errors.Property
2626
import org.partiql.errors.PropertyValueMap
2727
import org.partiql.lang.ast.IsOrderedMeta
2828
import org.partiql.lang.ast.SourceLocationMeta
29+
import org.partiql.lang.ast.UNKNOWN_SOURCE_LOCATION
2930
import org.partiql.lang.ast.sourceLocation
3031
import org.partiql.lang.domains.PartiqlPhysical
3132
import org.partiql.lang.domains.staticType
@@ -1885,6 +1886,14 @@ internal class PhysicalPlanCompilerImpl(
18851886
)
18861887
}
18871888

1889+
internal val MetaContainer.sourceLocationMeta get() = this[SourceLocationMeta.TAG] as? SourceLocationMeta
1890+
internal val MetaContainer.sourceLocationMetaOrUnknown get() = this.sourceLocationMeta ?: UNKNOWN_SOURCE_LOCATION
1891+
1892+
internal fun StaticType.getTypes() = when (val flattened = this.flatten()) {
1893+
is AnyOfType -> flattened.types
1894+
else -> listOf(this)
1895+
}
1896+
18881897
/**
18891898
* Represents an element in a select list that is to be projected into the final result.
18901899
* i.e. an expression, or a (project_all) node.

0 commit comments

Comments
 (0)