amundsen-io / amundsen

Amundsen is a metadata driven application for improving the productivity of data analysts, data scientists and engineers when interacting with data.
https://www.amundsen.io/amundsen/
Apache License 2.0
4.39k stars 955 forks source link

Loader file using DPAPIExtractor #859

Closed aabharaut closed 3 years ago

aabharaut commented 3 years ago

I am trying to extract the data from Exasol DWH using DPAPIExtractor, to load the data I have created or modified the loader file with connection, SQL stmt details. As requested by @Tao Feng I am sharing the loader file to understand what is happening or where I am wrong. As I am not aware of how to proceed with DBAPIextractor in the loader part. I tried to ran the loader script but received some error (attached screenshot) . It will be helpful if someone please provide feedback on it for improvement.

Expected Behavior

should able to see the selected table and column value as per SQL query

Current Behavior

unknown errors amundsen_loaderoutput

Your Environment

OElesin commented 3 years ago

Hi @aabharaut ,

Great work with the sample_dbapi_loader.txt. I am also interested in integration our Exasol DWH with Amundsen.

I inspected your code, sample_dbapi_loader.txt, and discovered that you missed a . on line 85. I assume this made it impossible to read the object.

Please change: 'extractor.dbapi{}'.format(DBAPIExtractor.CONNECTION_CONFIG_KEY): DB_CONN_STRING, to 'extractor.dbapi.{}'.format(DBAPIExtractor.CONNECTION_CONFIG_KEY): DB_CONN_STRING,.

Hopefully, this should resolve the issue.

feng-tao commented 3 years ago

cool, feel free to reopen if the issue still exists after the suggestion. thanks @OElesin