Data is not loaded in Amundsen from Mysql database
See original GitHub issueThis is the code I replaced from file and using it to load data from mysql database (films) into amundsen
def connection_string():
user = 'root'
password = '747747747Yash$'
host = 'localhost'
port = '3306'
db = 'films'
return "mysql+pymysql://%s:%s@%s:%s/%s" % (user, password, host, port, db)
def run_mysql_job(): # set where clause according to your need
where_clause_suffix = textwrap.dedent("""
where c.table_schema = 'inforamtion_schema'
""")
tmp_folder = '/var/tmp/amundsen/table_metadata'
node_files_folder = '{tmp_folder}/nodes/'.format(tmp_folder=tmp_folder)
relationship_files_folder = '{tmp_folder}/relationships/'.format(tmp_folder=tmp_folder)
job_config = ConfigFactory.from_dict({
'extractor.mysql_metadata.{}'.format(MysqlMetadataExtractor.WHERE_CLAUSE_SUFFIX_KEY):
where_clause_suffix,
'extractor.mysql_metadata.{}'.format(MysqlMetadataExtractor.USE_CATALOG_AS_CLUSTER_NAME):
True,
'extractor.mysql_metadata.extractor.sqlalchemy.{}'.format(SQLAlchemyExtractor.CONN_STRING):
connection_string(),
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Data is not loaded in Amundsen from Mysql database #549
This is the code I replaced from file and using it to load data from mysql database (films) into amundsen def connection_string(): user ......
Read more >Amundsen Databuilder
An extractor that extracts table and column metadata including database, schema, table name, table description, column name and column description from a MYSQL...
Read more >How can I connect mysql to Amundsen Lyft? - Stack Overflow
I'm working on the PoC about Amundsen Lyft for introducing data catalog. So, I use the file 'sample_mysql_loader.py' and insert database ...
Read more >MySQL 8.0 Reference Manual :: 13.2.9 LOAD DATA Statement
Input File Location. These rules determine the LOAD DATA input file location: If LOCAL is not specified, the file must be located on...
Read more >Amundsen Set Up Tutorial: A Step-By-Step Installation Guide
Metadata — can choose to store and retrieve data from a host of database backends, including neo4j, MySQL on RDS, Apache Atlas, etc....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
close it for now, feel free to reopen if the issue persists.
Looks like you have a typo in this line:
Should probably be
information_schema