docs: public static boolean isSnapshotableStreamedTableView(Database db, Table table) {
          Table materializer = table.getMaterializer();
          if (materializer == null) {
              // Return false if it is not a materialized view.
              return false;
          }
          if (! CatalogUtil.isTableExportOnly(db, materializer)) {
              // Test if the view source table is a streamed table.
              return false;
          }
          // Non-partitioned export table are not allowed so it should not get here.
          Column sourcePartitionColumn = materializer.getPartitioncolumn();
          if (sourcePartitionColumn == null) {
              return false;
          }
          // Make sure the partition column is present in the view.
          // Export table views are special, we use column names to match..
          Column pc = table.getColumns().get(sourcePartitionColumn.getName());
          if (pc == null) {
              return false;
          }
          return true;
      }