Repository navigation
Read the compression of a logical target on its target - #286
Open
maximelefrancois86 wants to merge 1 commit into
Open
maximelefrancois86 wants to merge 1 commit into
maximelefrancois86 wants to merge 1 commit into
Conversation
RML-IO gives rml:compression the domain rml:Target, and the test cases RMLTTC0006b-e (kg-construct/rml-io, since 0cb26a2) put it on the target: it was read on the logical target only, and RMLTTC0006b's dump was written uncompressed. It is now read on the target, else on the logical target as before. Test: TargetCompressionTest; the copies of RMLTTC0006b-c are those of the current suite.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RML-IO gives
rml:compressionthe domainrml:Target(target-vocabulary.md). Since kg-construct/rml-io0cb26a2, the test cases RMLTTC0006b-e put it on the target (rml:target [ a rml:Target, rml:FilePath; rml:path "./dump1.nq.gz"; rml:compression rml:gzip ]).TargetFactory.getTargetreads it on the logical target only, so the dump of RMLTTC0006b is written uncompressed.Change: the compression is read on the targets, else on the logical target as before.
Tests:
TargetCompressionTestbuilds such a target and checks that a gzip stream is written. It fails without the change.new-test-cases/ioare those of the current suite. Note thatMapperNewRMLIOTargetTestcompares the in-memory stores, so it does not see the compression.LocalFileTarget(0006c-e), and neither is UTF-16 (0005b). That is a separate matter.