-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NeurIPS] Join fails with reference if read from fileObject #700
Comments
I faced the same issue. I am unsure if I found the right solution, but having the property name removed or picking a name different than @id properties' values for recordSets solved the issue for me. Here is an example of my files: |
Thanks for the suggestion. I removed all the "name"s from recordSets and made all other name pointers unique, but it unfortunately doesn't seem to work for me. |
@EMCarrami . I experienced the same problem as you describe here. The EXPECTED_DATA_TYPES maps sc:text to bytes, and so a column from csv is a byte array, whereas the FileSet filename is a string. This fails the join. I am not sure of whats the recommended way to specify a text field, and also why this Mapping is set, but @marcenacp might have some context on this. In an initial version text did map to str, but it was changed. Also the docs suggest to use the dataType sc:Text for a csv column. I am attaching an example jsonld file to exemplify the join in the situation, perhaps that needs to be addressed? |
Hi,
Regarding your proposed solution to #651 and the implementation of simple_join. This solution only works if it is a reference to a field where data is manually added. When I load the data from fileObject it returns nan.
Below is an example that fails (returns nan for the sequence field of examples, despite uid match):
But the following works (where data is manually added similar to the provided example)
The text was updated successfully, but these errors were encountered: