Skip to content
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

Check special characters in entity and attribute names or types #15

Closed
frbattid opened this issue Feb 19, 2014 · 2 comments
Closed

Check special characters in entity and attribute names or types #15

frbattid opened this issue Feb 19, 2014 · 2 comments
Labels

Comments

@frbattid
Copy link
Member

As experienced with FINESCE people, if an entity or attribute name or type contains the "/" character then the persisted file for this entity-attribute pair will contain the "/" character. When creating thar file, WebHDFS/HttpFS understands a subdirectory must be created and then a file.

E.g. entity=mycar, entity_tpe=car, attribute_name=speed, attribute_type=km/h will be persisted as mycar-car-speed-km/h.txt, which in the end is the following directory /user/myuser/mystorage/mycar-car-speed-km containing a h.txt file.

Special characters usage must be checked before creating the file name.

@frbattid frbattid added the bug label Feb 19, 2014
@fgalan
Copy link
Member

fgalan commented Feb 20, 2014

I think to remember that we had some similar issue with other special character in the past, such ":", that gets replaced by _. Probably it is just a matter of including "/" to the list of special characters to check and replace by _.

@fgalan
Copy link
Member

fgalan commented Mar 11, 2014

Moved to telefonicaid/fiware-connectors#9

@fgalan fgalan closed this as completed Mar 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants