فهرست منبع

[oozie] Add HiveServer2 example for the New Editor

Romain Rigaux 10 سال پیش
والد
کامیت
084eb56e7c

+ 4 - 0
apps/oozie/examples/workflows/hiveserver2/select.sql

@@ -0,0 +1,4 @@
+SELECT ${hivevar:fields}
+FROM ${hivevar:tablename}
+LIMIT ${hivevar:n}
+;

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 17 - 0
apps/oozie/src/oozie/fixtures/initial_oozie_examples.json


+ 2 - 1
desktop/core/src/desktop/models.py

@@ -339,7 +339,8 @@ class DocumentManager(models.Manager):
               extra = ''
             doc = Document.objects.link(job, owner=job.owner, name=job.name, description=job.description, extra=extra)
           if job.owner.username == SAMPLE_USERNAME:
-            job.doc.get().share_to_default()
+            doc = job.doc.get()
+            doc.share_to_default()
             tag = DocumentTag.objects.get_example_tag(user=job.owner)
             doc.tags.add(tag)
     except Exception, e:

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است