From d2d2069e228e20de700c3dae9f7f3a780ae60117 Mon Sep 17 00:00:00 2001 From: Josh Pschorr Date: Mon, 10 Feb 2025 14:39:00 -0800 Subject: [PATCH] Fix: Properly return properties from Session --- CHANGELOG.md | 3 ++- .../src/main/kotlin/org/partiql/spi/catalog/Session.kt | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 036da223e..d28a19533 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ Thank you to all who have contributed! ### Added ### Changed +- Properly returns properties from `Session` ### Deprecated @@ -38,7 +39,7 @@ Thank you to all who have contributed! ### Security ### Contributors -Thank you to all who have contributed! +- @jpschorr ## [1.0.0](https://github.com/partiql/partiql-lang-kotlin/releases/tag/v1.0.0) - 2025-01-23 diff --git a/partiql-spi/src/main/kotlin/org/partiql/spi/catalog/Session.kt b/partiql-spi/src/main/kotlin/org/partiql/spi/catalog/Session.kt index 0aabcdec1..4937c76c2 100644 --- a/partiql-spi/src/main/kotlin/org/partiql/spi/catalog/Session.kt +++ b/partiql-spi/src/main/kotlin/org/partiql/spi/catalog/Session.kt @@ -136,6 +136,10 @@ public interface Session { val currentNamespace = Namespace.of(getCatalog(), *getNamespace().getLevels()) return Path.of(currentNamespace, systemCatalogNamespace) } + + override fun getProperties(): Map { + return properties + } } } }