Explorar o código

[spark] Display Spark resultset when available

Romain Rigaux %!s(int64=10) %!d(string=hai) anos
pai
achega
8bc5dea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/spark/src/spark/models.py

+ 1 - 1
apps/spark/src/spark/models.py

@@ -268,7 +268,7 @@ class SparkApi():
     try:
       return {
           'id': response['id'],
-          'has_result_set': response['state'] != 'running',
+          'has_result_set': True,
       }
     except Exception, e:
       message = force_unicode(str(e))