Any config option to turn OFF continuous health check queries to backend DB?

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",
    "": "OpenJDK Runtime Environment",
    "java.runtime.version": "1.8.0_242-8u242-b08-0ubuntu3~16.04-b08",
    "java.vendor": "Private Build",
    "java.vendor.url": "",
    "java.version": "1.8.0_242",
    "": "OpenJDK 64-Bit Server VM",
    "java.vm.version": "25.242-b08",
    "": "Linux",
    "os.version": "4.15.0-1060-gcp",
    "user.language": "en",
    "user.timezone": "Etc/UTC"
  "metabase-info": {
    "databases": [
    "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

My apologies. I think this “health check” SQL is coming from some other source. Hopefully I did not waste anyone precious time. Thanks.

1 Like