Skip to content

Python OJAI: connection string arguments need different separator #71

@usimd

Description

@usimd

I'm trying to connect to a MapR data access gateway using Python OJAI v1.1.5.

Using the documented connection string with a format like host:port?[param=value;...] does not work. The options_dict only contains one single entry with the first param's key and the rest of the connection string as value.

I assume https://github.com/mapr/maprdb-python-client/blob/master/mapr/ojai/storage/OJAIConnection.py#L115-L116 does not respect semicolon as a separator.

Quickly checking if using an ampersand as separator, I was able to open a connection. This should either be reflected in the docs or the code should properly handle the separator.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions