refactor sql_json view endpoint: separate getting and checking existing query to ad hoc methods (#16449)
refactor sql_json view endpoint: separate getting and checking existing query to ad hoc methods (#16449)


zhouyao1994/incubator-superset,apache/incubator-superset,airbnb/caravel,zhouyao1994/incubator-superset,airbnb/caravel,airbnb/caravel,apache/incubator-superset,zhouyao1994/incubator-superset,apache/incubator-superset,apache/incubator-superset,zhouyao1994/incubator-superset,apache/incubator-superset,zhouyao1994/incubator-superset,airbnb/caravel