-
Notifications
You must be signed in to change notification settings - Fork 75
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
Ensure that ingest is using sqlite #289
Comments
I'm probably wrong in the above, but I still keep getting the 'invalid database path' exception with a seemingly valid postgres string (and the database is available there, I can use psql to connect to it from that container):
|
The relevant code path is this: if '/' in self.url.database.strip('/'):
raise ValueError('invalid database path') I.e., you are expected to only provide a database name with no additional path components (we really need to improve this error message). So this should work:
|
But then there is no database name in the url? And shouldn't the slash be trimmed anyway by this
|
Yes, database name must be present:
|
Okay, I get it now. Looks like we both got confused. The thing is that The solution is to use the Python API for ingestion (see our docs). This restriction should clearly be documented better, apologies. |
Thanks. I am going to close this, but I need to log two other issues (I will create them separately with more details):
Thanks a lot for your prompt responses and all your work. |
Parsing:
Yields:
No username, no database, etc.
Therefore the terracotta driver initialization code fails with postgres scheme.
The text was updated successfully, but these errors were encountered: