-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
Import CSV File Into PosgreSQL Table. Error: password authentication failed #4285
Comments
Hi Was any alternative found for this issue? Thanks, cheers. |
I was experiencing the same issue and did some digging. It seems that as of #4298, the call to For example: # File "superset/db_engine_specs.py", line ~134
# ...
df_to_db_kwargs = {
'table': table,
'df': df,
'name': form.name.data,
'con': create_engine(form.con.data.sqlalchemy_uri_decrypted, echo=False),
'schema': form.schema.data,
'if_exists': form.if_exists.data,
'index': form.index.data,
'index_label': form.index_label.data,
'chunksize': 10000,
}
# ... |
@ktravis care to open a PR please? |
Make sure these boxes are checked before submitting your issue - thank you!
Superset version
0.22.1
Expected results
Import CSV File Into PosgreSQL Table
Actual results
CSV file import error:
Postgres Log:
This can be corrected if you change the configuration file pg_hba.conf
host all all 172.18.0.0/16 trust
But this is not safe.
The text was updated successfully, but these errors were encountered: