Hi, I am using Spark-sql as the backend and query view in its UI is full of queries like " [
/* Health Check */ SELECT 1" … making it very difficult to monitor my app queries.
Can this be turned OFF?
Also, I wonder what the logic is behind doing this? this will only ascertain a valid connection and exercise the parser. Not really a true health check. I also see this being repeated several times in the same second.
Much appreciated.
{
"browser-info": {
"language": "en-US",
"platform": "MacIntel",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36",
"vendor": "Google Inc."
},
"system-info": {
"file.encoding": "UTF-8",
"java.runtime.name": "OpenJDK Runtime Environment",
"java.runtime.version": "1.8.0_242-8u242-b08-0ubuntu3~16.04-b08",
"java.vendor": "Private Build",
"java.vendor.url": "http://java.oracle.com/",
"java.version": "1.8.0_242",
"java.vm.name": "OpenJDK 64-Bit Server VM",
"java.vm.version": "25.242-b08",
"os.name": "Linux",
"os.version": "4.15.0-1060-gcp",
"user.language": "en",
"user.timezone": "Etc/UTC"
},
"metabase-info": {
"databases": [
"h2",
"sparksql"
],
"hosting-env": "unknown",
"application-database": "h2",
"application-database-details": {
"database": {
"name": "H2",
"version": "1.4.197 (2018-03-18)"
},
"jdbc-driver": {
"name": "H2 JDBC Driver",
"version": "1.4.197 (2018-03-18)"
}
},
"run-mode": "prod",
"version": {
"tag": "v0.35.1",
"date": "2020-04-02",
"branch": "release-0.35.x",
"hash": "e67f169"
},
"settings": {
"report-timezone": null
}
}
}