kg-construct / rml-core

RML-Core: Main features for RDF generation with RML
https://w3id.org/rml/core/spec
Creative Commons Attribution 4.0 International
12 stars 9 forks source link

Issues with MySQL test cases #100

Closed chrdebru closed 6 months ago

chrdebru commented 7 months ago
DylanVanAssche commented 7 months ago
chrdebru commented 7 months ago

1) Yes. Either remove the tests for MySQL. Or have something that would pass for them and write a note. RML engine should try and support PostgreSQL (which is more ANSI compliant). 2) I'm pretty sure 2f is not wrong 3) I proposed a fix for 3b. The output of 3b was not empty. All other failing mappings had empty output files. So, I believe that the additional rml:tableName was a copy-paste error. :-) It makes sense, as the reference relied on a derived attribute (concatenate). In other words, 3b is fixed.

pmaria commented 7 months ago

Some other issues:

rml:SQL2008TableName is used vs rml:SQL2008Table (in io spec) rml:tableName used but not described io spec rml:sqlVersion used but described io spec

Actions:

pmaria commented 7 months ago
pmaria commented 7 months ago
pmaria commented 7 months ago

RMLTC0015a-MySQL seems to have been an issue with erroneously escaped quotes in a multiline string. See https://github.com/kg-construct/rml-core/commit/5e21fae36723f4eab1fb8aeae51ed1d1d19f2101. @chrdebru does that fix it for you as well?

pmaria commented 7 months ago

I'm leaning towards dropping RMLTC0018a entirely due to the different behavior of databases and this rather niche case. Agreed @chrdebru @DylanVanAssche ?

DylanVanAssche commented 7 months ago

+1 for dropping 18a

chrdebru commented 7 months ago

Agree on dropping 18a.

bjdmeest commented 6 months ago

agree on dropping 18a too. But we probably want an IO test to cover "Description: Generation of triples by using CHAR datatype column, resulting RDF literal is space-padded. (specification reference)" at a later stage. Tracked at https://github.com/kg-construct/rml-io/issues/41 so this issue can be closed after stuff is fixed