Fingerprint-fields Analyzed doesn't contain the table I want

As shown above, my Vertica Database contains many tables. Why does it analyze only a few tables? What would make it possible to analyze all tables or specific tables?

Hi @jesse1
Please post “Diagnostic Info” from Admin > Troubleshooting. Latest release is 0.37.4
Metabase will only show the tables that can be queried (eg SELECT * FROM table) with the credentials used.

Hi @flamber
The log did not report an error, but I wanted to conduct analysis on more tables and identify some columns as categories, but I found that there were several tables refreshed every time, which did not have what I wanted. Can this function be set?
Thanks.

@jesse1

  1. Post “Diagnostic Info” from Admin > Troubleshooting.
  2. I don’t understand what you mean. Fingerprinting is only done on first sync. You would have to set fingerprint=null and fingerprint_version=0 in the application database table metabase_field to make Metabase fingerprint again on next sync.

@flamber


As the figure above, fingerprint is null and fingerprint_version = 0, but it was not analyzed. What is the reason

@flamber , Here you are
{
“browser-info”: {
“language”: “zh-CN”,
“platform”: “Win32”,
“userAgent”: “Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.66”,
“vendor”: “Google Inc.”
},
“system-info”: {
“file.encoding”: “UTF-8”,
“java.runtime.name”: “Java™ SE Runtime Environment”,
“java.runtime.version”: “1.8.0_112-b15”,
“java.vendor”: “Oracle Corporation”,
“java.vendor.url”: “http://java.oracle.com/”,
“java.version”: “1.8.0_112”,
“java.vm.name”: “Java HotSpot™ 64-Bit Server VM”,
“java.vm.version”: “25.112-b15”,
“os.name”: “Linux”,
“os.version”: “3.10.0-862.3.2.el7.x86_64”,
“user.language”: “en”,
“user.timezone”: “US/Pacific”
},
“metabase-info”: {
“databases”: [
“h2”,
“vertica”,
“mysql”,
“clickhouse”
],
“hosting-env”: “unknown”,
“application-database”: “mysql”,
“application-database-details”: {
“database”: {
“name”: “MySQL”,
“version”: “8.0.21”
},
“jdbc-driver”: {
“name”: “MariaDB Connector/J”,
“version”: “2.6.2”
}
},
“run-mode”: “prod”,
“version”: {
“tag”: “v0.37.4”,
“date”: “2020-12-17”,
“branch”: “release-x.37.x”,
“hash”: “e0d5287”
},
“settings”: {
“report-timezone”: null
}
}
}

@jesse1 After you have set the fingerprints to blank state, then manually start a sync via Admin > Databases > (your db) > “Sync database schema now”, and check the log for any errors via Admin > Troubleshooting > Logs. The first sync will take longer, since fingerprinting takes a while.

Otherwise you might need to start with debug logging - example:

java -Dlog4j.configurationFile="https://log4j.us/v2/templates/metabase?trace=metabase.sync" -jar metabase.jar

Also, you should upgrade your Java: https://www.metabase.com/docs/latest/operations-guide/java-versions.html

Hi @flamber , Jesse and I in same team , we do find an error when it try to sync one table in fingerprint step , just want to know that the error will block the following tables 's sync process ?

@rickw Post the log during sync. While it should only fail on the table, we have seen some sync errors that crashed the entire sync procedure.