Skip to content

Commit

Permalink
Metadata changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiimk committed Jun 15, 2020
1 parent 97cbe61 commit 700c946
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 12 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
### Changed
- Further engine interface improvements
## [0.17.0] - 2020-06-14
### Added
- Added support for [Apache Flink](https://github.com/kamu-data/kamu-engine-flink) engine!

## [0.16.0] - 2020-05-25
### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import dev.kamu.core.manifests.infra.IngestRequest
import dev.kamu.core.manifests.{
DatasetID,
DatasetVocabulary,
DatasetVocabularyOverrides,
MetadataBlock,
SourceKind
}
Expand Down Expand Up @@ -137,9 +136,7 @@ class IngestService(
prepResult.checkpoint,
prepDataPath,
ingestCheckpointPath,
summary.vocabulary
.getOrElse(DatasetVocabularyOverrides())
.asDatasetVocabulary()
summary.vocabulary.getOrElse(DatasetVocabulary())
)

if (ingestResult.wasUpToDate) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,7 @@ class MetadataRepository(
}

def getDatasetVocabulary(id: DatasetID): DatasetVocabulary = {
getDatasetSummary(id).vocabulary
.getOrElse(DatasetVocabularyOverrides())
.asDatasetVocabulary()
getDatasetSummary(id).vocabulary.getOrElse(DatasetVocabulary())
}

def getDatasetRef(id: DatasetID): DatasetRef = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class KamuPullDerivativeSpec extends FlatSpec with Matchers with KamuTestBase {
val deriv = DatasetFactory.newDerivativeDataset(
source = root.id,
sql = Some(
s"SELECT system_time, event_time, city, (population + 1) as population FROM `${root.id}`"
s"SELECT event_time, city, (population + 1) as population FROM `${root.id}`"
)
)

Expand Down

0 comments on commit 700c946

Please sign in to comment.